mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Solved some errors in identation
This commit is contained in:
@@ -496,11 +496,11 @@ class NoteList extends React.Component {
|
||||
|
||||
alertIfSnippet (msg) {
|
||||
const warningMessage = (msg) => ({
|
||||
'export-txt': 'Text export is available only as a markdown note',
|
||||
'export-md': 'Markdown export is available only as a markdown note.',
|
||||
'export-html': 'HTML export is available only as a markdown note.',
|
||||
'print': 'Print is available only as a markdown note.'
|
||||
})[msg]
|
||||
'export-txt': 'Text export is available only as a markdown note',
|
||||
'export-md': 'Markdown export is available only as a markdown note.',
|
||||
'export-html': 'HTML export is available only as a markdown note.',
|
||||
'print': 'Print is available only as a markdown note.'
|
||||
})[msg]
|
||||
|
||||
const targetIndex = this.getTargetIndex()
|
||||
if (this.notes[targetIndex].type === 'SNIPPET_NOTE') {
|
||||
|
||||
Reference in New Issue
Block a user