mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
change to inject domainObject
This commit is contained in:
parent
2f2de3952d
commit
cd116667be
@ -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() {
|
||||
|
@ -40,6 +40,6 @@ export default {
|
||||
internalDomainObject: this.domainObject
|
||||
};
|
||||
},
|
||||
inject: ['openmct']
|
||||
inject: ['openmct', 'objectPath', 'domainObject']
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user