mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 01:03:08 +02:00
fix
This commit is contained in:
parent
16b50fc6a9
commit
d8f65ca426
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ mainRouter.navHook = (path, flag): boolean => {
|
||||||
if (mainRouter.currentRoute.value.path !== '/') {
|
if (mainRouter.currentRoute.value.path !== '/') {
|
||||||
const noMainColumn = !deckStore.state.columns.some(x => x.type === 'main');
|
const noMainColumn = !deckStore.state.columns.some(x => x.type === 'main');
|
||||||
if (deckStore.state.navWindow || noMainColumn) {
|
if (deckStore.state.navWindow || noMainColumn) {
|
||||||
os.pageWindow(mainRouter.currentRoute.value.path);
|
os.pageWindow(location.pathname + location.search + location.hash);
|
||||||
mainRouter.replace('/');
|
mainRouter.replace('/');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue