diff --git a/src/plugins/condition/components/ConditionCollection.vue b/src/plugins/condition/components/ConditionCollection.vue index a85b1b381c..e067997626 100644 --- a/src/plugins/condition/components/ConditionCollection.vue +++ b/src/plugins/condition/components/ConditionCollection.vue @@ -109,9 +109,9 @@ export default { let conditionDOKeyString = this.openmct.objects.makeKeyString(conditionObj.identifier); let newDO = this.instantiate(conditionObj, conditionDOKeyString); + newDO.useCapability('location').setPrimaryLocation(this.parentKeyString); let conditionDO = newDO.useCapability('adapter'); - this.conditions.unshift(conditionDO); this.composition.add(conditionDO); }, removeCondition(identifier) {