mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 13:48:12 +00:00
mutate when parameters or expression changes
This commit is contained in:
@ -190,7 +190,7 @@ function reloadParameters() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateParameters() {
|
function updateParameters() {
|
||||||
domainObject.configuration.comps.parameters = parameters.value;
|
openmct.objects.mutate(domainObject, `configuration.comps.parameters`, parameters.value);
|
||||||
compsManager.setDomainObject(domainObject);
|
compsManager.setDomainObject(domainObject);
|
||||||
applyTestData();
|
applyTestData();
|
||||||
}
|
}
|
||||||
@ -205,7 +205,7 @@ function toggleTestData() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateExpression() {
|
function updateExpression() {
|
||||||
domainObject.configuration.comps.expression = expression.value;
|
openmct.objects.mutate(domainObject, `configuration.comps.expression`, expression.value);
|
||||||
compsManager.setDomainObject(domainObject);
|
compsManager.setDomainObject(domainObject);
|
||||||
applyTestData();
|
applyTestData();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user