Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2022-09-04 11:40:20 +0300
committerkorelstar <korelstar@users.noreply.github.com>2022-09-04 11:51:32 +0300
commit5f0886bf2a0247b37fdc50daf791a27b4a530fee (patch)
treeea8bb1d5f1b1c82f0bfe795c34f847f296e5ed5a /src
parentbb91ba812ca58700d313a08fd691b4624bbf48ae (diff)
always use edit mode when creating a new note
Diffstat (limited to 'src')
-rw-r--r--src/components/Note.vue2
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) {