Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed May 24, 2021
1 parent 970d259 commit 3bafeb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugins/data/public/actions/apply_filter_action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export function createFilterAction(
selectedFilters = await filterSelectionPromise;
}

// remove existing filters for control prior to adding new filtes for control
if (controlledBy) {
filterManager.getFilters().forEach((filter) => {
if (filter.meta.controlledBy === controlledBy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const filterByMapExtentAction = createAction<FilterByMapExtentActionConte
defaultMessage: 'Disable filter by map extent',
})
: i18n.translate('xpack.maps.filterByMapExtentMenuItem.enableDisplayName', {
defaultMessage: 'Filter by map extent',
defaultMessage: 'Enable filter by map extent',
});
},
getIconType: () => {
Expand Down

0 comments on commit 3bafeb5

Please sign in to comment.