if (!this.currentRule.sourceName && this.currentRule.sourceType === this.SOURCE_TYPES.STATIC.value) {
this.currentRule.sourceName = this.SOURCE_TYPES.STATIC.value;
}
- if (!this.input.componentInstanceCapabilitiesMap) {
+ if (this.input.componentInstanceCapabilitiesMap) {
this.selectedCapabilitiesPropertyObject = Array.from(this.input.componentInstanceCapabilitiesMap
.get(this.currentRule.capabilityName))
.find(property => property.name == this.currentRule.servicePropertyName);
this.filterOptionsByType();
}
- onServicePropertyChanged() {
- this.updateOperatorTypesList();
+ onServicePropertyChanged() {
+ this.syncRuleData();
this.filterOptionsByType();
this.currentRule.value = '';
}