{profile.name ? utils.formatName(profile.name, config) : profile.address}
{profile.name ? utils.formatName(profile.name, config) : utils.formatAddress(profile.address)}
{#if profile.name && profile.org}
org
{/if}
{#if profile.id}
{/if}
{#if profile.seed && profile.seed.valid}
{/if}
{#if profile.org}
{#await profile.org.getMembers(config)}
ID
Seed
Address
{#if profile.org}
Owner
{#await account && profile.org.isMember(account, config) then isMember}
{#if isOwner(profile.org) || isMember}
{/if}
{/await}
{#await getOrgTreasury(profile.org) then tokens}
{#if tokens && tokens.length > 0}
Treasury
{#each tokens as token}
{` ${utils.formatBalance(token.balance, token.decimals)} ${token.symbol} `}
{/each}
{/if}
{/await}
{:else}
{#if profile.anchorsAccount}
Anchors
{/if}
{/if}
Profile
{#if profile.org}
{#if utils.isAddressEqual(profile.address, profile.org.address)}
{#if profile.name}
{profile.name}
{:else}
Not set
{/if}
{#await isOrgAuthorized(profile.org)}
{:then authorized}
{#if authorized}
{/if}
{/await}
{/if}
{#await profile.org.getSafe(config) then safe}
{#if safe}
Quorum
{safe.threshold} of {safe.owners.length}
{/if}
{/await}
{:else}
{#if profile.name}
{profile.name}
{:else}
Not set
{/if}
{#if isUserAuthorized(profile.address)}
{/if}
{/if}
{#each members as profile}
{/each}
{/await}
{/if}
{:catch err}
{#each orgs as org}
{/if}
{:catch err}
{#await Profile.get(org.address, ProfileType.Minimal, config)}
{:then profile}
{/await}
{/each}