From 36baac58bc1f4c25aad8624b640ac5172a3f342b Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 23 Nov 2021 13:56:46 +0100 Subject: [PATCH] Don't show quorum if there is none Signed-off-by: Alexis Sellier --- src/base/orgs/View.svelte | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/base/orgs/View.svelte b/src/base/orgs/View.svelte index 73cf6460f..70110f4e1 100644 --- a/src/base/orgs/View.svelte +++ b/src/base/orgs/View.svelte @@ -226,7 +226,7 @@
Treasury
{#each tokens as token} - {` ${utils.formatBalance(token.balance)} ${token.symbol} `} + {` ${utils.formatBalance(token.balance)} ${token.symbol} `} {/each}
@@ -287,19 +287,15 @@ {/if} -
Quorum
-
- {#await org.getSafe(config)} - - {:then safe} - {#if safe} + {#await org.getSafe(config) then safe} + {#if safe} +
Quorum
+
{safe.threshold} of {safe.owners.length} - {:else} - N/A - {/if} - {/await} -
-
+
+
+ {/if} + {/await} {#await org.getMembers(config)}