Skip to content

Commit 5f0886b

Browse files
committed
always use edit mode when creating a new note
1 parent bb91ba8 commit 5f0886b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Note.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default {
218218
219219
this.onUpdateTitle(this.title)
220220
this.loading = true
221-
this.preview = store.state.app.settings.noteMode === 'preview'
221+
this.preview = store.state.app.settings.noteMode === 'preview' && !this.isNewNote
222222
fetchNote(parseInt(this.noteId))
223223
.then((note) => {
224224
if (note.error) {

0 commit comments

Comments
 (0)