Skip to content

Commit e2798f1

Browse files
fix: Always force reload to fetch latest data
1 parent ee1612c commit e2798f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ const useStore = defineStore("store", {
377377
});
378378
}
379379
const targetWindow = window.open(`/${route}`, "builder-preview");
380-
if (targetWindow?.location.pathname === `/${route}`) {
380+
if (targetWindow?.location) {
381381
targetWindow?.location.reload();
382382
}
383383
},

0 commit comments

Comments
 (0)