mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
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:
parent
d103b76ab0
commit
d7a3ec9c5e
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue