diff options
author | korelstar <korelstar@users.noreply.github.com> | 2022-09-04 11:40:20 +0300 |
---|---|---|
committer | korelstar <korelstar@users.noreply.github.com> | 2022-09-04 11:51:32 +0300 |
commit | 5f0886bf2a0247b37fdc50daf791a27b4a530fee (patch) | |
tree | ea8bb1d5f1b1c82f0bfe795c34f847f296e5ed5a | |
parent | bb91ba812ca58700d313a08fd691b4624bbf48ae (diff) |
always use edit mode when creating a new note
-rw-r--r-- | src/components/Note.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Note.vue b/src/components/Note.vue index 38860f45..2bdefe56 100644 --- a/src/components/Note.vue +++ b/src/components/Note.vue @@ -218,7 +218,7 @@ export default { this.onUpdateTitle(this.title) this.loading = true - this.preview = store.state.app.settings.noteMode === 'preview' + this.preview = store.state.app.settings.noteMode === 'preview' && !this.isNewNote fetchNote(parseInt(this.noteId)) .then((note) => { if (note.error) { |