fix: hide spacing header dropdow no organization

This commit is contained in:
Arman committed 2023-02-10 10:39:24 +01:00
1 parent dc1cd74add
commit 3d74719c8c
1 file changed
+6 -6
+6 -6
View File
@@ -114,9 +114,9 @@
<div
class="drop is-no-arrow is-block-end is-inline-end"
transition:slide={{ duration: 100 }}>
<section class="drop-section u-overflow-y-auto u-max-height-200">
<ul class="drop-list">
{#if $organizationList?.total}
{#if $organizationList?.total}
<section class="drop-section u-overflow-y-auto u-max-height-200">
<ul class="drop-list">
{#each $organizationList.teams as org}
<DropListLink
href={`${base}/console/organization-${org.$id}`}
@@ -124,9 +124,9 @@
showDropdown = false;
}}>{org.name}</DropListLink>
{/each}
{/if}
</ul>
</section>
</ul>
</section>
{/if}
<section class="drop-section">
<ul class="drop-list">
<DropListItem