{#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} {#await promise} {:then} {#if current_contacts.length === 0} {:else} {JSON.stringify(current_contacts)}
{#each current_contacts as t} {#if Object.values(t) .toString() .toLowerCase() .includes(searchvalue)} {#if active_deletes[t.id] === true} {:else} {/if} {/if} {/each}
Name Groups Address Action
{t.firstname} {t.middlename || ''} {t.lastname}
{#if t.groups.length>0} {#each t.groups as g} {#if g.responseType==="RUNNERORGANIZATION"} {g.name} {:else} {g.name} {/if} {/each} {:else}no groups{/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}