diff --git a/src/components/scanstations/ScanStationsOverview.svelte b/src/components/scanstations/ScanStationsOverview.svelte
index 9d27551d..fc5e8a0a 100644
--- a/src/components/scanstations/ScanStationsOverview.svelte
+++ b/src/components/scanstations/ScanStationsOverview.svelte
@@ -1,29 +1,29 @@
-{#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')}
+{#if store.state.jwtinfo.userdetails.permissions.includes('STATION:GET')}
{#await promise}
-
{$_('contacts-are-being-loaded')}
+
Scanstations are being loaded
{$_('this-might-take-a-moment')}
{:then}
- {#if current_contacts.length === 0}
+ {#if current_stations.length === 0}
- {#each current_contacts as t}
- {#if Object.values(t)
+ {#each current_stations as s}
+ {#if Object.values(s)
.toString()
.toLowerCase()
.includes(searchvalue)}
-
+
- {t.firstname}
- {t.middlename || ''}
- {t.lastname}
+ {s.description}
@@ -79,23 +77,9 @@
@@ -104,41 +88,36 @@
- {#if t.address.address1 !== null}
- {t.address.address1}
- {t.address.address2 || ''}
- {t.address.postalcode}
- {t.address.city}
- {t.address.country}
- {/if}
+ {s.enabled.toString()}
|
- {#if active_deletes[t.id] === true}
+ {#if active_deletes[s.id] === true}
@@ -147,12 +126,12 @@
|
{$_('details')}
- {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:DELETE')}
+ {#if store.state.jwtinfo.userdetails.permissions.includes('STATION:DELETE')}
|