feat: click selected account to switch to guest

This commit is contained in:
Xyphyn committed 2023-08-19 17:14:48 -07:00
1 parent c3d2ae112f
commit f43fc4acb6
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -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,
})
+1 -1
View File
@@ -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']}