fix: Fix logout button
This commit is contained in:
1 parent
c0702d645c
commit
ab8630a76e
8 files changed
+25
-32
No files matched your search
@@ -20,10 +20,10 @@
|
||||
|
||||
<svelte:body
|
||||
on:click={(event) => {
|
||||
let path = event.composedPath()
|
||||
if (open) {
|
||||
let path = event.composedPath()
|
||||
|
||||
if (!path.includes(element)) {
|
||||
if (open) {
|
||||
if (!path.includes(element)) {
|
||||
open = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user