small fix

This commit is contained in:
vcoppe committed 2026-10-18 09:09:00 +02:00
1 parent 05510ece92
commit 9dd4af98a5
1 file changed
+1 -1
@@ -47,7 +47,7 @@
$effect(() => { $effect(() => {
// not what the click that was just made depends on, only the selection and the folder // not what the click that was just made depends on, only the selection and the folder
const clicked = untrack(() => clickedInExplorer.path); const clicked = untrack(() => clickedInExplorer.path);
if (selectedPath === clicked) { if (clicked !== undefined && selectedPath === clicked) {
return; return;
} }
clickedInExplorer.path = undefined; clickedInExplorer.path = undefined;