merge: re-add "copy link (origin)" that was dropped accidentally (!704)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/704

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
dakkar 2024-10-21 16:04:38 +00:00
commit 063c597ca6

View file

@ -346,6 +346,9 @@ export function getNoteMenu(props: {
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink));
if (appearNote.url || appearNote.uri) {
menuItems.push(
getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)')
);
menuItems.push({
icon: 'ti ti-external-link',
text: i18n.ts.showOnRemote,