diff --git a/package-lock.json b/package-lock.json index ed5be9082..9431b5bea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "trilium", - "version": "0.32.0-beta", + "version": "0.32.1-beta", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/public/javascripts/services/tree.js b/src/public/javascripts/services/tree.js index 58efee20b..c4d77be6c 100644 --- a/src/public/javascripts/services/tree.js +++ b/src/public/javascripts/services/tree.js @@ -400,6 +400,7 @@ function initFancyTree(tree) { beforeActivate: (event, data) => { // this is for the case when tree reload has been called and we don't want to if (ignoreNextActivationNoteId && getActiveNode() !== null) { + ignoreNextActivationNoteId = null; return false; } },