change to inject domainObject

This commit is contained in:
Joel McKinnon 2019-12-23 14:32:57 -08:00
parent 2f2de3952d
commit cd116667be
2 changed files with 3 additions and 2 deletions

View File

@ -45,6 +45,7 @@ export default function ConditionSetViewProvider(openmct) {
},
provide: {
openmct,
domainObject,
objectPath
},
data() {
@ -52,7 +53,7 @@ export default function ConditionSetViewProvider(openmct) {
domainObject
};
},
template: '<condition-set :domain-object="domainObject"></condition-set>'
template: '<condition-set></condition-set>'
});
},
destroy() {

View File

@ -40,6 +40,6 @@ export default {
internalDomainObject: this.domainObject
};
},
inject: ['openmct']
inject: ['openmct', 'objectPath', 'domainObject']
}
</script>