{#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}
{t.address.address1}
{t.address.address2 || ''}
{t.address.postalcode} {t.address.city} {t.address.country}
Edit {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:DELETE')} {/if}
{/if} {:catch error}
{$_('general_promise_error')} {error}
{/await} {/if}