mirror of
https://github.com/nasa/openmct.git
synced 2025-02-25 19:11:35 +00:00
persist after adding
This commit is contained in:
parent
e4dcda80f1
commit
58568b849e
@ -212,7 +212,6 @@ export default class CompsManager extends EventEmitter {
|
||||
this.#domainObject.configuration.comps.parameters.filter(
|
||||
(parameter) => parameter.keyString !== keyString
|
||||
);
|
||||
this.persist(this.#domainObject);
|
||||
this.emit('parametersUpdated', keyString);
|
||||
};
|
||||
|
||||
|
@ -185,6 +185,7 @@ function dragLeave(event) {
|
||||
function reloadParameters() {
|
||||
parameters.value = compsManager.getParameters();
|
||||
domainObject.configuration.comps.parameters = parameters.value;
|
||||
compsManager.persist(domainObject);
|
||||
}
|
||||
|
||||
function persistParameters() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user