mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:25:43 +01:00
別タブでルートより下を開いたときにはデッキにしないように (#4291)
This commit is contained in:
parent
2e6652edce
commit
e8bf742c87
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ init(async (launch, os) => {
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
mode: 'history',
|
mode: 'history',
|
||||||
routes: [
|
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: '/', name: 'index', component: MkDeck, children: [
|
||||||
{ path: '/@:user', name: 'user', component: () => import('./views/deck/deck.user-column.vue').then(m => m.default), 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) },
|
{ path: '', name: 'user', component: () => import('./views/deck/deck.user-column.home.vue').then(m => m.default) },
|
||||||
|
|
Loading…
Reference in a new issue