{#if store.state.jwtinfo.userdetails.permissions.includes('ORGANISATION:GET')} {#await promise} {:then} {#if current_organizations.length === 0} {:else}
{#each current_organizations as o} {#if Object.values(o) .toString() .toLowerCase() .includes(searchvalue)} {#if active_deletes[o.id] === true} {:else} {/if} {/if} {/each}
Name Address Contact Action
{o.name}
{#if o.address} {JSON.stringify(o.address)} {:else}no address specified{/if}
{#if o.contact} {JSON.stringify(o.contact)} {:else}no contact specified{/if}
Edit {#if store.state.jwtinfo.userdetails.permissions.includes('ORGANISATION:DELETE')} {/if}
{/if} {:catch error}
{$_('general_promise_error')} {error}
{/await} {/if}