summaryrefslogtreecommitdiff
path: root/src/client/scripts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-10-25 01:21:41 +0900
committerGitHub <noreply@github.com>2020-10-25 01:21:41 +0900
commit254cfaea284d12f188e28f56a0cec863e3177a49 (patch)
tree5ba89f9316cf54724af75ee919ae7339edc5af0e /src/client/scripts
parentUpdate dependencies :rocket: (diff)
downloadsharkey-254cfaea284d12f188e28f56a0cec863e3177a49.tar.gz
sharkey-254cfaea284d12f188e28f56a0cec863e3177a49.tar.bz2
sharkey-254cfaea284d12f188e28f56a0cec863e3177a49.zip
自前ルーティング (#6759)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
Diffstat (limited to 'src/client/scripts')
-rw-r--r--src/client/scripts/get-user-menu.ts3
1 files changed, 1 insertions, 2 deletions
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; }
}