This commit is contained in:
Timothy Jaeryang Baek committed 2026-10-16 03:29:06 +04:00
1 parent 9cf48f4fb0
commit a575875cc3
1 file changed
+1 -8
+1 -8
View File
@@ -127,13 +127,6 @@
onClose();
}
function dismissLayer() {
if (panel) panel = null;
else if (preview) preview = false;
else close();
input?.focus();
}
async function open(result = selected) {
if (!result) return;
await goto(result.url);
@@ -218,7 +211,7 @@
bind:show
size={preview ? 'xl' : 'lg'}
ariaLabel={$i18n.t('Search workspace')}
onRequestClose={dismissLayer}
onRequestClose={close}
className="bg-white dark:bg-gray-850 rounded-2xl !border-gray-100 dark:!border-gray-800"
>
<!-- svelte-ignore a11y-no-static-element-interactions -->