diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts index 9ff9ced2ea..9fa4ec39f6 100644 --- a/src/client/app/desktop/script.ts +++ b/src/client/app/desktop/script.ts @@ -128,7 +128,7 @@ init(async (launch, os) => { const router = new VueRouter({ mode: 'history', routes: [ - os.store.getters.isSignedIn && os.store.state.device.deckMode + os.store.getters.isSignedIn && os.store.state.device.deckMode && document.location.pathname === '/' ? { path: '/', name: 'index', component: MkDeck, children: [ { path: '/@:user', name: 'user', component: () => import('./views/deck/deck.user-column.vue').then(m => m.default), children: [ { path: '', name: 'user', component: () => import('./views/deck/deck.user-column.home.vue').then(m => m.default) },