Skip to content
Snippets Groups Projects
Commit d8f65ca4 authored by tamaina's avatar tamaina
Browse files

fix

parent 16b50fc6
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ mainRouter.navHook = (path, flag): boolean => {
if (mainRouter.currentRoute.value.path !== '/') {
const noMainColumn = !deckStore.state.columns.some(x => x.type === 'main');
if (deckStore.state.navWindow || noMainColumn) {
os.pageWindow(mainRouter.currentRoute.value.path);
os.pageWindow(location.pathname + location.search + location.hash);
mainRouter.replace('/');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment