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"
|
color="tertiary"
|
||||||
alignment="left"
|
alignment="left"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
setUserID(prof.id)
|
if ($profile?.id == prof.id) setUserID(-1)
|
||||||
|
else setUserID(prof.id)
|
||||||
|
|
||||||
goto($page.url, {
|
goto($page.url, {
|
||||||
invalidateAll: true,
|
invalidateAll: true,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="mb-4 flex flex-col gap-4">
|
<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
|
<MultiSelect
|
||||||
selected={data.type}
|
selected={data.type}
|
||||||
options={['all', 'unread']}
|
options={['all', 'unread']}
|
||||||
|
|||||||
Reference in new issue
Block a user