diff --git a/src/components/dashboard/Dashboard.svelte b/src/components/dashboard/Dashboard.svelte index f095e11c..38505b49 100644 --- a/src/components/dashboard/Dashboard.svelte +++ b/src/components/dashboard/Dashboard.svelte @@ -172,21 +172,41 @@ {$_('tracks')} {/if} - - - - {$_('contacts')} - + {#if store.state.jwtinfo.userdetails.permissions.includes('SCAN:GET')} + + + + Scans + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('CONTACT:GET')} + + + + {$_('contacts')} + + {/if} {#if store.state.jwtinfo.userdetails.permissions.includes('STATION:GET')} + xmlns="http://www.w3.org/2000/svg"> + {$_('scanstations')} {/if}