mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 17:57:04 +00:00
fixed refs and ev bugs
This commit is contained in:
parent
4413c29abb
commit
7282792da1
@ -43,7 +43,7 @@
|
||||
openmct.legacyRegistry.enable.bind(openmct.legacyRegistry)
|
||||
);
|
||||
|
||||
openmct.install(openmct.plugins.Espresso());
|
||||
openmct.install(openmct.plugins.Snow());
|
||||
openmct.install(openmct.plugins.MyItems());
|
||||
openmct.install(openmct.plugins.LocalStorage());
|
||||
openmct.install(openmct.plugins.Generator());
|
||||
|
@ -194,14 +194,13 @@ 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.target === this.$ref.telemetrySelect) {
|
||||
if (ev && ev.target === this.$refs.telemetrySelect) {
|
||||
this.clearDependentFields(ev.target);
|
||||
this.persist();
|
||||
}
|
||||
@ -221,10 +220,10 @@ export default {
|
||||
}
|
||||
},
|
||||
clearDependentFields(el) {
|
||||
if (el === this.$ref.telemetrySelect) {
|
||||
if (el === this.$refs.telemetrySelect) {
|
||||
this.criterion.metadata = '';
|
||||
this.criterion.operation = '';
|
||||
} else if (el === this.$ref.metadataSelect) {
|
||||
} else if (el === this.$refs.metadataSelect) {
|
||||
this.criterion.operation = '';
|
||||
}
|
||||
this.criterion.input = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user