mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix bug with unresponsive tree after tree reload
This commit is contained in:
parent
873b60b00d
commit
3fdecee95f
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "trilium",
|
"name": "trilium",
|
||||||
"version": "0.32.0-beta",
|
"version": "0.32.1-beta",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -400,6 +400,7 @@ function initFancyTree(tree) {
|
|||||||
beforeActivate: (event, data) => {
|
beforeActivate: (event, data) => {
|
||||||
// this is for the case when tree reload has been called and we don't want to
|
// this is for the case when tree reload has been called and we don't want to
|
||||||
if (ignoreNextActivationNoteId && getActiveNode() !== null) {
|
if (ignoreNextActivationNoteId && getActiveNode() !== null) {
|
||||||
|
ignoreNextActivationNoteId = null;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user