removed extraneous emits and handlers

This commit is contained in:
Joel McKinnon 2020-03-25 15:27:48 -07:00
parent 829eecf1ae
commit f76f537be7
2 changed files with 0 additions and 4 deletions

View File

@ -126,8 +126,6 @@
:trigger="condition.configuration.trigger"
:is-default="condition.configuration.criteria.length === 1"
@persist="persist"
@setTelemetryName="setTelemetryName"
@setFieldName="setFieldName"
/>
<div class="c-cdef__criteria__buttons">
<button class="c-click-icon c-cdef__criteria-duplicate-button icon-duplicate"

View File

@ -171,7 +171,6 @@ export default {
this.telemetryMetadataOptions = this.telemetryMetadata.values();
this.updateOperations(ev);
this.updateOperationInputVisibility();
this.$emit('setTelemetryName', telemetryObject.name)
});
} else {
this.criterion.metadata = '';
@ -181,7 +180,6 @@ export default {
if (ev && ev.target === this.$refs.metadataSelect) {
this.clearDependentFields(this.$refs.metadataSelect);
let selectedOptionText = this.$refs.metadataSelect.options[this.$refs.metadataSelect.selectedIndex].text;
this.$emit('setFieldName', selectedOptionText);
}
this.getOperationFormat();
this.persist();