From 815096264f70e4acc308f8632e9a861ea90186f0 Mon Sep 17 00:00:00 2001 From: ltlapy Date: Tue, 21 Feb 2023 17:46:51 +0900 Subject: [PATCH] fix(frontend): Acct is not defined --- packages/frontend/src/scripts/get-user-menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 1e4c28cc94..5ba05b3ed9 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -159,7 +159,7 @@ export function getUserMenu(user, router: Router = mainRouter) { type: 'link', icon: 'ti ti-messages', text: i18n.ts.startMessaging, - to: '/my/messaging/' + Acct.toString(user), + to: '/my/messaging/${user.id}', } : undefined, null, { icon: 'ti ti-list', text: i18n.ts.addToList,