{ modal_open = false; active_deletes[event.detail.id] = false; }} bind:modal_open bind:delete_station /> {#if store.state.jwtinfo.userdetails.permissions.includes('STATION:GET')} {#await promise} {:then} {#if current_stations.length === 0} {:else}
{#each current_stations as s} {#if Object.values(s) .toString() .toLowerCase() .includes(searchvalue)} {#if active_deletes[s.id] === true} {:else} {/if} {/if} {/each}
{$_('track')} {$_('description')} {$_('status')} {$_('action')}
{s.description}
{#if s.enabled} {$_('active')} {:else} {$_('inactive')} {/if}
{$_('details')} {#if store.state.jwtinfo.userdetails.permissions.includes('STATION:DELETE')} {/if}
{/if} {:catch error}
{$_('general_promise_error')} {error}
{/await} {/if}