diff options
| author | blueb <ihateblueb@proton.me> | 2024-02-05 06:39:15 -0500 |
|---|---|---|
| committer | blueb <ihateblueb@proton.me> | 2024-02-05 06:39:15 -0500 |
| commit | 9b0d078fba95d6bfdfbdb34f9a578d9733606c23 (patch) | |
| tree | c85b4e1f64a7f57d912f58a2f27764d2f364c898 /packages/frontend/src/scripts/get-note-menu.ts | |
| parent | merge: fix: reply hover effect (!403) (diff) | |
| download | sharkey-9b0d078fba95d6bfdfbdb34f9a578d9733606c23.tar.gz sharkey-9b0d078fba95d6bfdfbdb34f9a578d9733606c23.tar.bz2 sharkey-9b0d078fba95d6bfdfbdb34f9a578d9733606c23.zip | |
upd: replace pencil icon, widget icon
Diffstat (limited to 'packages/frontend/src/scripts/get-note-menu.ts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index b58755fe58..e9e0f89556 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -298,7 +298,7 @@ export function getNoteMenu(props: { text: i18n.ts.copyContent, action: copyContent, }, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink) - , (appearNote.url || appearNote.uri) ? + , (appearNote.url || appearNote.uri) ? getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)') : undefined, (appearNote.url || appearNote.uri) ? { @@ -418,16 +418,16 @@ export function getNoteMenu(props: { ...(appearNote.userId === $i.id || $i.isModerator || $i.isAdmin ? [ { type: 'divider' }, appearNote.userId === $i.id ? { - icon: 'ph-pencil ph-bold ph-lg', + icon: 'ph-pencil-simple ph-bold ph-lg', text: i18n.ts.edit, action: edit, } : undefined, { - icon: 'ph-pencil-line ph-bold ph-lg', + icon: 'ph-pencil-simple-line ph-bold ph-lg', text: i18n.ts.deleteAndEdit, danger: true, action: delEdit, - }, + }, { icon: 'ph-trash ph-bold ph-lg', text: i18n.ts.delete, @@ -447,7 +447,7 @@ export function getNoteMenu(props: { text: i18n.ts.copyContent, action: copyContent, }, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink) - , (appearNote.url || appearNote.uri) ? + , (appearNote.url || appearNote.uri) ? getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)') : undefined, (appearNote.url || appearNote.uri) ? { |