+
@@ -189,16 +197,16 @@ export default {
break;
}
}
- this.$emit('current-condition-updated', currentConditionIdentifier);
+ this.$emit('currentConditionUpdated', currentConditionIdentifier);
},
addTelemetry(telemetryDomainObject) {
this.telemetryObjs.push(telemetryDomainObject);
},
addCondition(event, isDefault) {
- let conditionDO = this.getConditionDomainObject(!!isDefault);
- //persist the condition DO so that we can do an openmct.objects.get on it and only persist the identifier in the conditionCollection of conditionSet
- this.openmct.objects.mutate(conditionDO, 'created', new Date());
- this.conditionCollection.unshift(conditionDO.identifier);
+ let conditionDomainObject = this.getConditionDomainObject(!!isDefault);
+ //persist the condition domain object so that we can do an openmct.objects.get on it and only persist the identifier in the conditionCollection of conditionSet
+ this.openmct.objects.mutate(conditionDomainObject, 'created', new Date());
+ this.conditionCollection.unshift(conditionDomainObject.identifier);
this.persist();
},
updateCurrentCondition(identifier) {
@@ -224,10 +232,10 @@ export default {
},
summary: 'summary description'
};
- let conditionDOKeyString = this.openmct.objects.makeKeyString(conditionObj.identifier);
- let newDO = this.instantiate(conditionObj, conditionDOKeyString);
+ let conditionDomainObjectKeyString = this.openmct.objects.makeKeyString(conditionObj.identifier);
+ let newDomainObject = this.instantiate(conditionObj, conditionDomainObjectKeyString);
- return newDO.useCapability('adapter');
+ return newDomainObject.useCapability('adapter');
},
updateCondition(updatedCondition) {
//TODO: this should only happen for reordering
diff --git a/src/plugins/condition/components/ConditionEdit.vue b/src/plugins/condition/components/ConditionEdit.vue
index 6660e4e241..5a50c73e2a 100644
--- a/src/plugins/condition/components/ConditionEdit.vue
+++ b/src/plugins/condition/components/ConditionEdit.vue
@@ -118,7 +118,7 @@
-