From 254cfaea284d12f188e28f56a0cec863e3177a49 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Oct 2020 01:21:41 +0900 Subject: 自前ルーティング (#6759) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip --- src/client/scripts/get-user-menu.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client/scripts') diff --git a/src/client/scripts/get-user-menu.ts b/src/client/scripts/get-user-menu.ts index cace2e1425..72ae9c1e7b 100644 --- a/src/client/scripts/get-user-menu.ts +++ b/src/client/scripts/get-user-menu.ts @@ -7,7 +7,6 @@ import getAcct from '../../misc/acct/render'; import * as os from '@/os'; import { store, userActions } from '@/store'; import { router } from '@/router'; -import { defineAsyncComponent } from 'vue'; import { popout } from './popout'; export function getUserMenu(user) { @@ -137,7 +136,7 @@ export function getUserMenu(user) { action: () => { const acct = getAcct(user); switch (store.state.device.chatOpenBehavior) { - case 'window': { os.pageWindow('/my/messaging/' + acct, defineAsyncComponent(() => import('@/pages/messaging/messaging-room.vue')), { userAcct: acct }); break; } + case 'window': { os.pageWindow('/my/messaging/' + acct); break; } case 'popout': { popout('/my/messaging'); break; } default: { router.push('/my/messaging'); break; } } -- cgit v1.2.3-freya