mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
chore: 調整2
This commit is contained in:
parent
9b25b0a77a
commit
68055decfc
1 changed files with 5 additions and 5 deletions
|
@ -302,7 +302,7 @@ export function getNoteMenu(props: {
|
|||
text: i18n.ts.unclip,
|
||||
danger: true,
|
||||
action: unclip,
|
||||
}, { type: 'divider' as const });
|
||||
}, { type: 'divider' });
|
||||
}
|
||||
|
||||
menuItems.push({
|
||||
|
@ -350,7 +350,7 @@ export function getNoteMenu(props: {
|
|||
});
|
||||
}
|
||||
|
||||
menuItems.push({ type: 'divider' as const });
|
||||
menuItems.push({ type: 'divider' });
|
||||
|
||||
menuItems.push(statePromise.then(state => state.isFavorited ? {
|
||||
icon: 'ti ti-star-off',
|
||||
|
@ -408,12 +408,12 @@ export function getNoteMenu(props: {
|
|||
});
|
||||
|
||||
if (appearNote.userId !== $i.id) {
|
||||
menuItems.push({ type: 'divider' as const });
|
||||
menuItems.push({ type: 'divider' });
|
||||
menuItems.push(getAbuseNoteMenu(appearNote, i18n.ts.reportAbuse));
|
||||
}
|
||||
|
||||
if (appearNote.channel && (appearNote.channel.userId === $i.id || $i.isModerator || $i.isAdmin)) {
|
||||
menuItems.push({ type: 'divider' as const });
|
||||
menuItems.push({ type: 'divider' });
|
||||
menuItems.push({
|
||||
type: 'parent',
|
||||
icon: 'ti ti-device-tv',
|
||||
|
@ -448,7 +448,7 @@ export function getNoteMenu(props: {
|
|||
}
|
||||
|
||||
if (appearNote.userId === $i.id || $i.isModerator || $i.isAdmin) {
|
||||
menuItems.push({ type: 'divider' as const });
|
||||
menuItems.push({ type: 'divider' });
|
||||
if (appearNote.userId === $i.id) {
|
||||
menuItems.push({
|
||||
icon: 'ti ti-edit',
|
||||
|
|
Loading…
Reference in a new issue