mirror of
https://github.com/nasa/openmct.git
synced 2025-04-05 02:09:18 +00:00
moved persist call into change event method and removed check on $ref
This commit is contained in:
parent
f76f537be7
commit
1b680cfaca
@ -171,18 +171,18 @@ export default {
|
||||
this.telemetryMetadataOptions = this.telemetryMetadata.values();
|
||||
this.updateOperations(ev);
|
||||
this.updateOperationInputVisibility();
|
||||
this.$emit('setTelemetryName', telemetryObject.name)
|
||||
});
|
||||
} else {
|
||||
this.criterion.metadata = '';
|
||||
}
|
||||
},
|
||||
updateOperations(ev) {
|
||||
if (ev && ev.target === this.$refs.metadataSelect) {
|
||||
this.clearDependentFields(this.$refs.metadataSelect);
|
||||
let selectedOptionText = this.$refs.metadataSelect.options[this.$refs.metadataSelect.selectedIndex].text;
|
||||
if (ev && ev.target.classList.contains('js-metadata-select')) {
|
||||
this.clearDependentFields(ev.target);
|
||||
this.persist();
|
||||
}
|
||||
this.getOperationFormat();
|
||||
this.persist();
|
||||
|
||||
},
|
||||
updateOperationInputVisibility(ev) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user