mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
Fix: Add missing nullsafe for admin user table
This commit is contained in:
parent
a22340196f
commit
f80123c85d
@ -361,7 +361,7 @@
|
|||||||
<div style="margin: 10px;">
|
<div style="margin: 10px;">
|
||||||
<Card color="warning">
|
<Card color="warning">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>Missing Metrics/Reseources</CardTitle>
|
<CardTitle>Missing Metrics/Resources</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardBody>
|
<CardBody>
|
||||||
{#if missingMetrics.length > 0}
|
{#if missingMetrics.length > 0}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<td>{user.name}</td>
|
<td>{user.name}</td>
|
||||||
<td>{user.projects}</td>
|
<td>{user.projects}</td>
|
||||||
<td>{user.email}</td>
|
<td>{user.email}</td>
|
||||||
<td><code>{user.roles.join(", ")}</code></td>
|
<td><code>{user?.roles ? user.roles.join(", ") : "No Roles"}</code></td>
|
||||||
<td>
|
<td>
|
||||||
{#if !jwt}
|
{#if !jwt}
|
||||||
<Button color="success" on:click={getUserJwt(user.username)}
|
<Button color="success" on:click={getUserJwt(user.username)}
|
||||||
|
Loading…
Reference in New Issue
Block a user