misc: fix type

This commit is contained in:
Xyphyn committed 2023-08-15 17:47:10 -07:00
1 parent 017741a7ee
commit 1947eef3da
1 file changed
+2 -3
+2 -3
View File
@@ -41,9 +41,8 @@
<div class="flex flex-col sm:flex-row gap-4 mt-4">
<MultiSelect
options={['Subscribed', 'Local', 'All']}
selected={$page.url.searchParams.get('type') ?? LINKED_INSTANCE_URL
? 'Local'
: 'All'}
selected={$page.url.searchParams.get('type') ??
(LINKED_INSTANCE_URL ? 'Local' : 'All')}
on:select={(e) => searchParam($page.url, 'type', e.detail, 'page')}
/>
<div class="flex flex-col sm:flex-row gap-2 sm:ml-auto items-center">