mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 09:46:25 +08:00
fix bug with unresponsive tree after tree reload
This commit is contained in:
parent
873b60b00d
commit
3fdecee95f
2 changed files with 2 additions and 1 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "trilium",
|
||||
"version": "0.32.0-beta",
|
||||
"version": "0.32.1-beta",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue