mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 09:22:12 +00:00
small fix
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in new issue
Block a user