Archived
Fix null ref in contributed tree views (#20138)
This commit is contained in:
@@ -197,7 +197,7 @@ export class TreeView extends Disposable implements ITreeView {
|
||||
this._onDidChangeEmpty.fire();
|
||||
}
|
||||
}
|
||||
return children;
|
||||
return children ?? [];
|
||||
}
|
||||
};
|
||||
if (this._dataProvider.onDidChangeEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user