[ui] don't show groups unless there are some

feat/vaults
Tomáš Mládek 2022-02-04 23:03:05 +01:00
parent 2f664ce820
commit 6d25de5b56
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 27 additions and 25 deletions

View File

@ -180,6 +180,7 @@
<Spinner /> <Spinner />
{/if} {/if}
</h2> </h2>
{#if groups?.length}
<section class="groups labelborder"> <section class="groups labelborder">
<header><h3>Groups</h3></header> <header><h3>Groups</h3></header>
<div class="content"> <div class="content">
@ -206,6 +207,7 @@
{/if} {/if}
</div> </div>
</section> </section>
{/if}
</header> </header>
<BlobPreview {address} /> <BlobPreview {address} />
<NotesEditor {address} {editable} on:change={onChange} /> <NotesEditor {address} {editable} on:change={onChange} />