Fix intro message not getting cleared when adding new item. Closes #2158
This commit is contained in:
parent
13f2c57196
commit
da7527e384
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
}
|
||||
|
||||
async clearItemsPaneMessage() {
|
||||
const shouldRerender = !this._itemsPaneMessage;
|
||||
const shouldRerender = this._itemsPaneMessage;
|
||||
this._itemsPaneMessage = null;
|
||||
return shouldRerender && new Promise(resolve => this.forceUpdate(resolve));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue