mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
import doesn't need a full tree reload
This commit is contained in:
@@ -115,11 +115,6 @@ $("body").on("click", "a.external", function () {
|
||||
|
||||
if (utils.isElectron()) {
|
||||
require('electron').ipcRenderer.on('create-day-sub-note', async function(event, parentNoteId) {
|
||||
// this might occur when day note had to be created
|
||||
if (!await treeCache.getNote(parentNoteId)) {
|
||||
await treeService.reload();
|
||||
}
|
||||
|
||||
await treeService.activateNote(parentNoteId);
|
||||
|
||||
setTimeout(async () => {
|
||||
|
||||
Reference in New Issue
Block a user