mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +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,
|
label: copyNoteLink,
|
||||||
click: this.copyNoteLink.bind(this, note)
|
click: this.copyNoteLink.bind(this, note)
|
||||||
},
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
if (note.type === 'MARKDOWN_NOTE') {
|
||||||
|
templates.push(
|
||||||
{
|
{
|
||||||
type: 'separator'
|
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) {
|
if (note.blog && note.blog.blogLink && note.blog.blogId) {
|
||||||
templates.push(
|
templates.push(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user