1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #2402 from jacobherrington/bug/right-click-should-not-copy-note

fix a bug causing right click to copy a note -- fixes #1833
This commit is contained in:
Junyoung Choi (Sai)
2018-10-01 01:50:40 +09:00
committed by GitHub

View File

@@ -519,7 +519,7 @@ class NoteList extends React.Component {
click: this.cloneNote.bind(this)
}, {
label: copyNoteLink,
click: this.copyNoteLink(note)
click: this.copyNoteLink.bind(this, note)
})
if (note.type === 'MARKDOWN_NOTE') {
if (note.blog && note.blog.blogLink && note.blog.blogId) {