activateNewNote does not reload whole tree anymore

This commit is contained in:
zadam
2020-01-04 21:53:49 +01:00
parent acb76e0630
commit 2150619d62
5 changed files with 7 additions and 7 deletions

View File

@@ -232,7 +232,7 @@ function BackendScriptApi(currentNote, apiParams) {
this.createDataNote = async (parentNoteId, title, content = {}) => await noteService.createNewNote({
parentNoteId,
title,
content: JSON.stringify(content),
content: JSON.stringify(content, null, '\t'),
type: 'code',
mime: 'application/json'
});