mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
fix async data tree expand promise
This commit is contained in:
@@ -296,7 +296,7 @@ export class AsyncDataTree<T extends NonNullable<any>, TFilterData = void> imple
|
||||
|
||||
this.tree.expand(node);
|
||||
|
||||
if (node.element!.state === AsyncDataTreeNodeState.Uninitialized) {
|
||||
if (node.state !== AsyncDataTreeNodeState.Loaded) {
|
||||
await this.refreshNode(node, false, ChildrenResolutionReason.Expand);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user