saved search can now be created from the search dialog

This commit is contained in:
azivner
2018-03-23 23:08:29 -04:00
parent ac978c3fa7
commit f8649feea4
8 changed files with 142 additions and 113 deletions

View File

@@ -96,7 +96,7 @@ async function createNote(parentNoteId, title, content = "", extraOptions = {})
mime: extraOptions.mime
};
if (extraOptions.json) {
if (extraOptions.json && !note.type) {
note.type = "code";
note.mime = "application/json";
}