From ef66e71febf98dbfcf827926e99e1105f5b4a891 Mon Sep 17 00:00:00 2001 From: Miguel Teixeira Date: Tue, 27 Nov 2018 18:02:59 +0000 Subject: [PATCH] Solved some errors in identation --- browser/main/Detail/SnippetNoteDetail.js | 10 +++++----- browser/main/NoteList/index.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/browser/main/Detail/SnippetNoteDetail.js b/browser/main/Detail/SnippetNoteDetail.js index 08cd50f1..473ce9d0 100644 --- a/browser/main/Detail/SnippetNoteDetail.js +++ b/browser/main/Detail/SnippetNoteDetail.js @@ -635,12 +635,12 @@ class SnippetNoteDetail extends React.Component { showWarning (e, 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.' + '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] - + dialog.showMessageBox(remote.getCurrentWindow(), { type: 'warning', message: i18n.__('Sorry!'), diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 02bdbcd2..49d063ca 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -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') {