Fix context pane not properly assigning new note as standalone/child

This commit is contained in:
Martynas Bagdonas 2021-10-08 11:11:51 +03:00
parent 645eb86cbc
commit a4f09419e5
2 changed files with 2 additions and 6 deletions

View file

@ -233,12 +233,8 @@
if (this._destroyed) {
return;
}
if (!val) {
this._item = null;
}
if (this._item && this._item.id === val.id) {
if (this._item && this._item.id && this._item.id === val.id) {
return;
}

@ -1 +1 @@
Subproject commit ed8d0b84b3f16d66a75be11208ce5c8a3f3fc182
Subproject commit 0dc6d65a28d1a2ec755e9f426fb98eb732109d92