{#if $topJobsQuery.fetching || $nodeStatusQuery.fetching}
{:else if $topJobsQuery.data && $nodeStatusQuery.data}
Top Users: Jobs
tu['totalJobs'],
)}
entities={$topJobsQuery.data.topUser.map((tu) => scrambleNames ? scramble(tu.id) : tu.id)}
/>
Top Projects: Jobs
tp['totalJobs'],
)}
entities={$topJobsQuery.data.topProjects.map((tp) => scrambleNames ? scramble(tp.id) : tp.id)}
/>
{:else}
Cannot render job status charts: No data!
{/if}
{#if $topNodesQuery.fetching || $nodeStatusQuery.fetching}
{:else if $topNodesQuery.data && $nodeStatusQuery.data}
Top Users: Nodes
tu['totalNodes'],
)}
entities={$topNodesQuery.data.topUser.map((tu) => scrambleNames ? scramble(tu.id) : tu.id)}
/>
Top Projects: Nodes
tp['totalNodes'],
)}
entities={$topNodesQuery.data.topProjects.map((tp) => scrambleNames ? scramble(tp.id) : tp.id)}
/>
{:else}
Cannot render node status charts: No data!
{/if}
{#if $topAccsQuery.fetching || $nodeStatusQuery.fetching}
{:else if $topAccsQuery.data && $nodeStatusQuery.data}
Top Users: GPUs
tu['totalAccs'],
)}
entities={$topAccsQuery.data.topUser.map((tu) => scrambleNames ? scramble(tu.id) : tu.id)}
/>
Top Projects: GPUs
tp['totalAccs'],
)}
entities={$topAccsQuery.data.topProjects.map((tp) => scrambleNames ? scramble(tp.id) : tp.id)}
/>
{:else}
Cannot render accelerator status charts: No data!
{/if}