mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
saved search can now be created from the search dialog
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user