feat: click selected account to switch to guest
This commit is contained in:
1 parent
c3d2ae112f
commit
f43fc4acb6
2 files changed
+4
-2
No files matched your search
@@ -57,7 +57,9 @@
|
||||
color="tertiary"
|
||||
alignment="left"
|
||||
on:click={() => {
|
||||
setUserID(prof.id)
|
||||
if ($profile?.id == prof.id) setUserID(-1)
|
||||
else setUserID(prof.id)
|
||||
|
||||
goto($page.url, {
|
||||
invalidateAll: true,
|
||||
})
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</script>
|
||||
|
||||
<div class="mb-4 flex flex-col gap-4">
|
||||
<h1 class="font-bold text-3xl">Reports</h1>
|
||||
<h1 class="font-bold text-2xl">Reports</h1>
|
||||
<MultiSelect
|
||||
selected={data.type}
|
||||
options={['all', 'unread']}
|
||||
|
||||
Reference in new issue
Block a user