Skip to content

Commit

Permalink
[Maps] Fix broken facet button display
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Nov 17, 2022
1 parent d18cf7a commit 4936913
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export class LayerWizardSelect extends Component<Props, State> {
key={category}
isSelected={category === this.state.selectedCategory}
onClick={() => this._filterByCategory(category)}
minWidth={false}
>
{getCategoryLabel(category)}
</EuiFacetButton>
Expand All @@ -123,6 +124,7 @@ export class LayerWizardSelect extends Component<Props, State> {
key="all"
isSelected={!this.state.selectedCategory}
onClick={() => this._filterByCategory(null)}
minWidth={false}
>
<FormattedMessage id="xpack.maps.layerWizardSelect.allCategories" defaultMessage="All" />
</EuiFacetButton>
Expand Down

0 comments on commit 4936913

Please sign in to comment.