Fix: Add missing nullsafe for admin user table

This commit is contained in:
Christoph Kluge 2024-04-24 13:47:29 +02:00
parent a22340196f
commit f80123c85d
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@
<div style="margin: 10px;">
<Card color="warning">
<CardHeader>
<CardTitle>Missing Metrics/Reseources</CardTitle>
<CardTitle>Missing Metrics/Resources</CardTitle>
</CardHeader>
<CardBody>
{#if missingMetrics.length > 0}

View File

@ -20,7 +20,7 @@
<td>{user.name}</td>
<td>{user.projects}</td>
<td>{user.email}</td>
<td><code>{user.roles.join(", ")}</code></td>
<td><code>{user?.roles ? user.roles.join(", ") : "No Roles"}</code></td>
<td>
{#if !jwt}
<Button color="success" on:click={getUserJwt(user.username)}