mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 17:23:05 -05:00
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