mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
option to erase notes immediately
This commit is contained in:
@@ -121,6 +121,22 @@ function getSearchRoot() {
|
||||
return searchRoot;
|
||||
}
|
||||
|
||||
function getSpecialNoteRoot() {
|
||||
let specialNoteRoot = becca.getNote('special');
|
||||
|
||||
if (!specialNoteRoot) {
|
||||
specialNoteRoot = noteService.createNewNote({
|
||||
noteId: 'special',
|
||||
title: 'special',
|
||||
type: 'text',
|
||||
content: '',
|
||||
parentNoteId: getHiddenRoot().noteId
|
||||
}).note;
|
||||
}
|
||||
|
||||
return specialNoteRoot;
|
||||
}
|
||||
|
||||
function getSqlConsoleRoot() {
|
||||
let sqlConsoleRoot = becca.getNote('sqlconsole');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user