Update packages/frontend/src/scripts/get-user-menu.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
7faf5c7dd2
commit
12b0430b4d
|
|
@ -333,6 +333,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
|||
action: reportAbuse,
|
||||
}]);
|
||||
}
|
||||
|
||||
if (user.host !== null) {
|
||||
menu = menu.concat([null, {
|
||||
icon: 'ti ti-refresh',
|
||||
|
|
@ -340,6 +341,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
|||
action: userInfoUpdate,
|
||||
}]);
|
||||
}
|
||||
|
||||
if (defaultStore.state.devMode) {
|
||||
menu = menu.concat([null, {
|
||||
icon: 'ti ti-id',
|
||||
|
|
|
|||
Loading…
Reference in New Issue