re-add "copy link (origin)" that was dropped accidentally

there are 2 nearly identical blocks of code that generate the menu for
logged-in users and for not-logged-in… I had missed the logged-in one
This commit is contained in:
dakkar 2024-10-21 15:14:56 +01:00
parent d103b76ab0
commit d7a3ec9c5e

View File

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