fix(frontend): Acct is not defined

This commit is contained in:
ltlapy 2023-02-21 17:46:51 +09:00
parent cd10c42c85
commit 815096264f

View file

@ -159,7 +159,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
type: 'link', type: 'link',
icon: 'ti ti-messages', icon: 'ti ti-messages',
text: i18n.ts.startMessaging, text: i18n.ts.startMessaging,
to: '/my/messaging/' + Acct.toString(user), to: '/my/messaging/${user.id}',
} : undefined, null, { } : undefined, null, {
icon: 'ti ti-list', icon: 'ti ti-list',
text: i18n.ts.addToList, text: i18n.ts.addToList,