chore: dont show embedded file export options if no selected super note has them
This commit is contained in:
@@ -120,7 +120,7 @@ const isSuperNote = (note: SNNote) => {
|
||||
return note.noteType === NoteType.Super
|
||||
}
|
||||
|
||||
const noteHasEmbeddedFiles = (note: SNNote) => {
|
||||
export const noteHasEmbeddedFiles = (note: SNNote) => {
|
||||
return note.text.includes('"type":"snfile"')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user