mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 09:35:37 -05:00
Fix errors throw when doing validity checks (#11171)
This commit is contained in:
@@ -286,7 +286,7 @@ export abstract class ContainerBase<T> extends ComponentBase {
|
||||
super(_changeRef, _el);
|
||||
this.items = [];
|
||||
this._validations.push(() => this.items.every(item => {
|
||||
return this.modelStore.getComponent(item.descriptor.id).valid;
|
||||
return this.modelStore.getComponent(item.descriptor.id)?.valid || false;
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user