diff --git a/src/components/dashboard/Dashboard.svelte b/src/components/dashboard/Dashboard.svelte index cd756c1e..a007fe91 100644 --- a/src/components/dashboard/Dashboard.svelte +++ b/src/components/dashboard/Dashboard.svelte @@ -53,101 +53,109 @@ {$_('orgs')} {/if} - {#if store.state.jwtinfo.userdetails.permissions.includes('DONOR:GET')} - - - - {$_('donors')} - - {/if} {#if store.state.jwtinfo.userdetails.permissions.includes('USER:GET')} - - - {$_('users')} - - {/if} - {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:GET')} - - - - {$_('runners')} - - {/if} - {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} - - - {$_('teams')} - - {/if} - {#if store.state.jwtinfo.userdetails.permissions.includes('TRACK:GET')} - - - {$_('tracks')} - - {/if} + + {$_('users')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:GET')} + + + + {$_('runners')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} + + + {$_('teams')} + +{/if} +{#if store.state.jwtinfo.userdetails.permissions.includes('DONOR:GET')} + + + + {$_('donors')} + +{/if} +{#if store.state.jwtinfo.userdetails.permissions.includes('TRACK:GET')} + - - {$_('contacts')} + href="/tracks/"> + + {$_('tracks')} + {/if} + + + {$_('contacts')} + +
-
{ - navOpen = true; - }} class="flex items-center justify-between w-full px-4 bg-white border-b h-14 md:hidden">
+
{ + navOpen = true; + }} + class="flex items-center justify-between w-full px-4 bg-white border-b h-14 md:hidden"> + +