1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00

don't show export menu to snippet notes

This commit is contained in:
Baptiste Augrain
2020-06-12 16:56:07 +02:00
parent febc98c101
commit aa8b589569

View File

@@ -720,7 +720,11 @@ class NoteList extends React.Component {
{
label: copyNoteLink,
click: this.copyNoteLink.bind(this, note)
},
}
)
if (note.type === 'MARKDOWN_NOTE') {
templates.push(
{
type: 'separator'
},
@@ -746,7 +750,7 @@ class NoteList extends React.Component {
]
}
)
if (note.type === 'MARKDOWN_NOTE') {
if (note.blog && note.blog.blogLink && note.blog.blogId) {
templates.push(
{