Update get-user-menu.ts
This commit is contained in:
parent
214d3ef35d
commit
901872e4fd
|
@ -215,6 +215,16 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
|||
});
|
||||
}
|
||||
|
||||
if ($i && meId === user.id) {
|
||||
menuItems.push({
|
||||
icon: 'ti ti-qrcode',
|
||||
text: i18n.ts.qr,
|
||||
action: () => {
|
||||
router.push('/qr');
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (notesSearchAvailable && (user.host == null || canSearchNonLocalNotes)) {
|
||||
menuItems.push({
|
||||
icon: 'ti ti-search',
|
||||
|
|
Loading…
Reference in New Issue