do not persist

This commit is contained in:
Scott Bell 2024-08-20 13:01:10 -05:00
parent a9d63b9272
commit e4dcda80f1

View File

@ -184,6 +184,7 @@ function dragLeave(event) {
function reloadParameters() {
parameters.value = compsManager.getParameters();
domainObject.configuration.comps.parameters = parameters.value;
}
function persistParameters() {
@ -217,12 +218,10 @@ function applyTestData() {
currentTestOutput.value = testOutput;
expressionOutput.value = null;
compsManager.setValid(true);
compsManager.persist(domainObject);
} catch (error) {
console.error('👎 Error applying test data', error);
currentTestOutput.value = null;
compsManager.setValid(false);
compsManager.persist(domainObject);
expressionOutput.value = error.message;
}
}