diff --git a/src/components/dashboard/Dashboard.svelte b/src/components/dashboard/Dashboard.svelte index a9b1f9d3..3c5aabfb 100644 --- a/src/components/dashboard/Dashboard.svelte +++ b/src/components/dashboard/Dashboard.svelte @@ -40,69 +40,6 @@ {$_("dashboard-title")} - {#if store.state.jwtinfo.userdetails.permissions.includes("ORGANIZATION:GET")} - - - - {$_("orgs")} - - {/if} - {#if store.state.jwtinfo.userdetails.permissions.includes("USER:GET")} - - - - {$_("users")} - - {/if} - {#if store.state.jwtinfo.userdetails.permissions.includes("USERGROUP:GET")} - - - {$_("user-groups")} - - {/if} {#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET")} {$_("teams")} {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes("ORGANIZATION:GET")} + + + + {$_("orgs")} + + {/if} {#if store.state.jwtinfo.userdetails.permissions.includes("DONOR:GET")} {$_("statsclients")} {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes("USER:GET")} + + + + {$_("users")} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes("USERGROUP:GET")} + + + {$_("user-groups")} + + {/if}