refactor: hide dropdown menu after clicks

This commit is contained in:
tglide committed 2022-11-24 13:47:54 +00:00
1 parent a5e247ba9f
commit cb9403be32
1 file changed
+3 -3
@@ -86,15 +86,15 @@
on:click={() => {
selectedAttribute = attribute;
showOverview = true;
showDropdown[index] = false;
}}>Overview</DropListItem>
<DropListItem
icon="plus"
on:click={() => {
selectedAttribute = attribute;
showCreateIndex = true;
}}>
Create Index
</DropListItem>
showDropdown[index] = false;
}}>Create Index</DropListItem>
<DropListItem
icon="trash"
on:click={() => {