mirror of
https://github.com/nasa/openmct.git
synced 2025-01-27 14:49:28 +00:00
mutate when parameters or expression changes
This commit is contained in:
parent
d96c3fc537
commit
28ec13a532
@ -190,7 +190,7 @@ function reloadParameters() {
|
||||
}
|
||||
|
||||
function updateParameters() {
|
||||
domainObject.configuration.comps.parameters = parameters.value;
|
||||
openmct.objects.mutate(domainObject, `configuration.comps.parameters`, parameters.value);
|
||||
compsManager.setDomainObject(domainObject);
|
||||
applyTestData();
|
||||
}
|
||||
@ -205,7 +205,7 @@ function toggleTestData() {
|
||||
}
|
||||
|
||||
function updateExpression() {
|
||||
domainObject.configuration.comps.expression = expression.value;
|
||||
openmct.objects.mutate(domainObject, `configuration.comps.expression`, expression.value);
|
||||
compsManager.setDomainObject(domainObject);
|
||||
applyTestData();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user