mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 17:23:40 -05:00
Fix missing null ref check causing extension issues (#21974)
This commit is contained in:
@@ -309,7 +309,7 @@ export class ConnectionWidget extends lifecycle.Disposable {
|
||||
*/
|
||||
protected registerOnSelectionChangeEvents(): void {
|
||||
//Register on selection change event for custom options
|
||||
this._customOptionWidgets.forEach((widget, i) => {
|
||||
this._customOptionWidgets?.forEach((widget, i) => {
|
||||
if (widget instanceof SelectBox) {
|
||||
this._registerSelectionChangeEvents([this._customOptionWidgets], this._customOptions[i], widget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user