Merge pull request #4527 from influxdata/flux/change-filter-type-in-builder

Fix filter type radio button in flux builder tag list dropdown
pull/4532/head
Alirie Gray 2018-10-02 10:13:52 -07:00 committed by GitHub
commit 9afce0d3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -89,7 +89,7 @@ export default class FilterTagListItem extends PureComponent<Props, State> {
active={operator === '!='} active={operator === '!='}
onClick={this.setEquality} onClick={this.setEquality}
> >
= !=
</Radio.Button> </Radio.Button>
</Radio> </Radio>
) )
@ -156,14 +156,10 @@ export default class FilterTagListItem extends PureComponent<Props, State> {
) )
} }
private setEquality(equal: boolean) { private setEquality = (equal: boolean) => {
return (e): void => {
e.stopPropagation()
const {tagKey} = this.props const {tagKey} = this.props
this.props.onSetEquality(tagKey, equal) this.props.onSetEquality(tagKey, equal)
} }
}
private get spinnerStyle(): CSSProperties { private get spinnerStyle(): CSSProperties {
return { return {