mirror of
https://github.com/nasa/openmct.git
synced 2025-04-29 23:40:11 +00:00
Reset independent time when domain object changes (#4723)
This commit is contained in:
parent
6aaf4a2c06
commit
f211d3fab0
@ -105,7 +105,11 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
domainObject: {
|
domainObject: {
|
||||||
handler(domainObject) {
|
handler(domainObject) {
|
||||||
|
this.independentTCEnabled = domainObject.configuration.useIndependentTime === true;
|
||||||
|
|
||||||
if (!domainObject.configuration.timeOptions || !this.independentTCEnabled) {
|
if (!domainObject.configuration.timeOptions || !this.independentTCEnabled) {
|
||||||
|
this.destroyIndependentTime();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user