mirror of
https://github.com/nasa/openmct.git
synced 2025-01-26 22:29:34 +00:00
do not persist
This commit is contained in:
parent
a9d63b9272
commit
e4dcda80f1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user