diff --git a/ui/src/data_explorer/components/FieldListItem.tsx b/ui/src/data_explorer/components/FieldListItem.tsx index 9aa1516e70..59f3a9cebe 100644 --- a/ui/src/data_explorer/components/FieldListItem.tsx +++ b/ui/src/data_explorer/components/FieldListItem.tsx @@ -106,9 +106,7 @@ class FieldListItem extends PureComponent { } private toggleFunctionsMenu = (e: MouseEvent) => { - if (e) { - e.stopPropagation() - } + e.stopPropagation() const {isDisabled} = this.props if (isDisabled) { return