From 4b47e70b13507034dc321a80e4e61fd387749571 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 10 Mar 2021 17:53:19 +0100 Subject: [PATCH] Added scanstations to sidebar ref #93 --- src/components/dashboard/Dashboard.svelte | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/components/dashboard/Dashboard.svelte b/src/components/dashboard/Dashboard.svelte index 4c66b23c..b61f6736 100644 --- a/src/components/dashboard/Dashboard.svelte +++ b/src/components/dashboard/Dashboard.svelte @@ -187,6 +187,23 @@ d="M2 22a8 8 0 1 1 16 0H2zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm10 4h4v2h-4v-2zm-3-5h7v2h-7v-2zm2-5h5v2h-5V7z" /> {$_('contacts')} + {#if store.state.jwtinfo.userdetails.permissions.includes('STATION:GET')} + + + Scanstations + + {/if}