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:
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user