{ modal_open = false; active_deletes[event.detail.id] = false; }} bind:modal_open bind:delete_team /> {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} {#await teams_promise} {:then} {#if current_teams.length === 0} {:else}
{#each current_teams as t} {#if Object.values(t) .toString() .toLowerCase() .includes(searchvalue)} {#if active_deletes[t.id] === true} {:else} {/if} {/if} {/each}
Name {$_('organization')} Contact Action
{t.name}
{#if t.parentGroup} {t.parentGroup.name} {:else}no organization specified{/if}
{#if t.contact} {JSON.stringify(t.contact)} {:else}no contact specified{/if}
Edit {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:DELETE')} {/if}
{/if} {:catch error}
{$_('general_promise_error')} {error}
{/await} {/if}