1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 02:36:36 +00:00

Solved some errors in identation

This commit is contained in:
Miguel Teixeira
2018-11-27 18:02:59 +00:00
parent c33058ae2b
commit ef66e71feb
2 changed files with 10 additions and 10 deletions

View File

@@ -635,12 +635,12 @@ class SnippetNoteDetail extends React.Component {
showWarning (e, msg) { showWarning (e, msg) {
const warningMessage = (msg) => ({ const warningMessage = (msg) => ({
'export-txt': 'Text export is available only as a markdown note', 'export-txt': 'Text export is available only as a markdown note',
'export-md': 'Markdown 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.', 'export-html': 'HTML export is available only as a markdown note.',
'print': 'Print is available only as a markdown note.' 'print': 'Print is available only as a markdown note.'
})[msg] })[msg]
dialog.showMessageBox(remote.getCurrentWindow(), { dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'warning', type: 'warning',
message: i18n.__('Sorry!'), message: i18n.__('Sorry!'),

View File

@@ -496,11 +496,11 @@ class NoteList extends React.Component {
alertIfSnippet (msg) { alertIfSnippet (msg) {
const warningMessage = (msg) => ({ const warningMessage = (msg) => ({
'export-txt': 'Text export is available only as a markdown note', 'export-txt': 'Text export is available only as a markdown note',
'export-md': 'Markdown 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.', 'export-html': 'HTML export is available only as a markdown note.',
'print': 'Print is available only as a markdown note.' 'print': 'Print is available only as a markdown note.'
})[msg] })[msg]
const targetIndex = this.getTargetIndex() const targetIndex = this.getTargetIndex()
if (this.notes[targetIndex].type === 'SNIPPET_NOTE') { if (this.notes[targetIndex].type === 'SNIPPET_NOTE') {