Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: show success toast when copying note link in context menu (#10027)

01zulfie931423eba3d
diff --git a/apps/web/src/components/note/index.tsx b/apps/web/src/components/note/index.tsx
index d960b1333..0736f9a1d 100644
--- a/apps/web/src/components/note/index.tsx
+++ b/apps/web/src/components/note/index.tsx
@@ -496,6 +496,7 @@ export const noteMenuItems: (
"text/html": `<a href="${url}">${note.title}</a>`,
"text/markdown": `[${note.title}](${url})`
});
+ showToast("success", strings.linkCopied());
}
},
{
@@ -594,6 +595,7 @@ export const noteMenuItems: (
"text/html": `<a href="${link}">${note.title}</a>`,
"text/markdown": `[${note.title}](${link})`
});
+ showToast("success", strings.linkCopied());
}
},
{