1
0
forked from mirror/misskey
This commit is contained in:
tamaina 2023-05-27 12:27:52 +00:00
parent 16b50fc6a9
commit d8f65ca426

View File

@ -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('/');
}
}