mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Don't show quorum if there is none
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -226,7 +226,7 @@
|
||||
<div class="label">Treasury</div>
|
||||
<div>
|
||||
{#each tokens as token}
|
||||
{` ${utils.formatBalance(token.balance)} ${token.symbol} `}
|
||||
{` ${utils.formatBalance(token.balance)} ${token.symbol} `}
|
||||
{/each}
|
||||
</div>
|
||||
<div></div>
|
||||
@@ -287,19 +287,15 @@
|
||||
</div>
|
||||
{/if}
|
||||
<!-- Quorum -->
|
||||
<div class="label">Quorum</div>
|
||||
<div>
|
||||
{#await org.getSafe(config)}
|
||||
<Loading small />
|
||||
{:then safe}
|
||||
{#if safe}
|
||||
{#await org.getSafe(config) then safe}
|
||||
{#if safe}
|
||||
<div class="label">Quorum</div>
|
||||
<div>
|
||||
{safe.threshold} <span class="faded">of</span> {safe.owners.length}
|
||||
{:else}
|
||||
N/A
|
||||
{/if}
|
||||
{/await}
|
||||
</div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div></div>
|
||||
{/if}
|
||||
{/await}
|
||||
</div>
|
||||
|
||||
{#await org.getMembers(config)}
|
||||
|
||||
Reference in New Issue
Block a user