{ modal_open = false; active_deletes[event.detail.id] = false; }} bind:modal_open bind:delete_client /> {#if store.state.jwtinfo.userdetails.permissions.includes("STATSCLIENT:GET")} {#await promise} {:then} {#if current_clients.length === 0} {:else}
{#each current_clients as c} {#if Object.values(c) .toString() .toLowerCase() .includes(searchvalue)} {#if active_deletes[c.id] === true} {:else} {/if} {/if} {/each}
{$_("description")} {$_("prefix")} {$_("action")}
{c.description}
{c.prefix}
{$_("details")} {#if store.state.jwtinfo.userdetails.permissions.includes("STATSCLIENT:DELETE")} {/if}
{/if} {:catch error}
{$_("general_promise_error")} {error}
{/await} {/if}