mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-15 12:27:30 +01:00
add nullsafes to frontend
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
|
||||
<p class="mb-2">
|
||||
{#if job.numNodes == 1}
|
||||
{job.resources[0].hostname}
|
||||
{job?.resources[0]?.hostname}
|
||||
{:else}
|
||||
{job.numNodes}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user