1
0

replaced ti-exclamation-circle and ti-user-exclamation

This commit is contained in:
dakkar
2024-06-21 16:24:29 +01:00
parent 527bbd036c
commit 5409440501
7 changed files with 9 additions and 7 deletions
@@ -129,7 +129,7 @@ export async function getNoteClipMenu(props: {
export function getAbuseNoteMenu(note: Misskey.entities.Note, text: string): MenuItem {
return {
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-exclamation-circle',
text,
action: (): void => {
const localUrl = `${url}/notes/${note.id}`;
@@ -159,7 +159,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
copyToClipboard(`@${user.username}@${user.host ?? host}`);
},
}, ...(iAmModerator ? [{
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-user-exclamation',
text: i18n.ts.moderation,
action: () => {
router.push(`/admin/user/${user.id}`);
@@ -338,7 +338,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
}
menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-exclamation-circle',
text: i18n.ts.reportAbuse,
action: reportAbuse,
}]);