summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/get-note-menu.ts
diff options
context:
space:
mode:
authorblueb <ihateblueb@proton.me>2024-02-05 06:39:15 -0500
committerblueb <ihateblueb@proton.me>2024-02-05 06:39:15 -0500
commit9b0d078fba95d6bfdfbdb34f9a578d9733606c23 (patch)
treec85b4e1f64a7f57d912f58a2f27764d2f364c898 /packages/frontend/src/scripts/get-note-menu.ts
parentmerge: fix: reply hover effect (!403) (diff)
downloadsharkey-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.ts10
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) ? {