mirror of
https://github.com/nasa/openmct.git
synced 2025-02-26 03:18:51 +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(
|
this.#domainObject.configuration.comps.parameters.filter(
|
||||||
(parameter) => parameter.keyString !== keyString
|
(parameter) => parameter.keyString !== keyString
|
||||||
);
|
);
|
||||||
this.persist(this.#domainObject);
|
|
||||||
this.emit('parametersUpdated', keyString);
|
this.emit('parametersUpdated', keyString);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -185,6 +185,7 @@ function dragLeave(event) {
|
|||||||
function reloadParameters() {
|
function reloadParameters() {
|
||||||
parameters.value = compsManager.getParameters();
|
parameters.value = compsManager.getParameters();
|
||||||
domainObject.configuration.comps.parameters = parameters.value;
|
domainObject.configuration.comps.parameters = parameters.value;
|
||||||
|
compsManager.persist(domainObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
function persistParameters() {
|
function persistParameters() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user