enhance(frontend): tweak user moderation page
This commit is contained in:
parent
a8d7b69fbd
commit
bbef2a953e
12 changed files with 126 additions and 138 deletions
|
|
@ -133,13 +133,13 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router
|
|||
action: () => {
|
||||
copyToClipboard(`@${user.username}@${user.host ?? host}`);
|
||||
},
|
||||
}, {
|
||||
icon: 'ti ti-info-circle',
|
||||
text: i18n.ts.info,
|
||||
}, ...(iAmModerator ? [{
|
||||
icon: 'ti ti-user-exclamation',
|
||||
text: i18n.ts.moderation,
|
||||
action: () => {
|
||||
router.push(`/user-info/${user.id}`);
|
||||
router.push(`/admin/user/${user.id}`);
|
||||
},
|
||||
}, {
|
||||
}] : []), {
|
||||
icon: 'ti ti-rss',
|
||||
text: i18n.ts.copyRSS,
|
||||
action: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue