mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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();
|
this._onDidChangeEmpty.fire();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return children;
|
return children ?? [];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (this._dataProvider.onDidChangeEmpty) {
|
if (this._dataProvider.onDidChangeEmpty) {
|
||||||
|
|||||||
Reference in New Issue
Block a user