feat: dropdown closes on click

This commit is contained in:
Arman committed 2022-11-18 15:01:08 +01:00
1 parent f89584bdd4
commit ce1b1e00c9
1 file changed
+3 -1
@@ -55,7 +55,9 @@
</button>
<svelte:fragment slot="list">
{#each $organizationList.teams as org}
<DropListLink href={`${base}/console/organization-${org.$id}`}>
<DropListLink
href={`${base}/console/organization-${org.$id}`}
on:click={() => (showDropdown = false)}>
{org.name}
</DropListLink>
{/each}