mutate when parameters or expression changes

This commit is contained in:
Scott Bell
2024-08-22 07:12:50 -05:00
parent d96c3fc537
commit 28ec13a532

View File

@ -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();
} }