mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 19:36:41 +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: {
|
provide: {
|
||||||
openmct,
|
openmct,
|
||||||
|
domainObject,
|
||||||
objectPath
|
objectPath
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@ -52,7 +53,7 @@ export default function ConditionSetViewProvider(openmct) {
|
|||||||
domainObject
|
domainObject
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
template: '<condition-set :domain-object="domainObject"></condition-set>'
|
template: '<condition-set></condition-set>'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
destroy() {
|
destroy() {
|
||||||
|
@ -40,6 +40,6 @@ export default {
|
|||||||
internalDomainObject: this.domainObject
|
internalDomainObject: this.domainObject
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
inject: ['openmct']
|
inject: ['openmct', 'objectPath', 'domainObject']
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user