Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Feb 16, 2021
1 parent e223061 commit 815b636
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/plugins/data/public/autocomplete/collectors/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
*/

export enum AUTOCOMPLETE_EVENT_TYPE {
CALL = 'call',
REQUEST = 'req',
RESULT = 'res',
ERROR = 'err',
CALL = 'autocomplete:call',
REQUEST = 'autocomplete:req',
RESULT = 'autocomplete:res',
ERROR = 'autocomplete:err',
}

export interface AutocompleteUsageCollector {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/public/ui/filter_bar/filter_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function FilterBarUI(props: Props) {
}

function onUpdate(i: number, filter: Filter) {
reportUiCounter?.(METRIC_TYPE.CLICK, `filte:edited`);
reportUiCounter?.(METRIC_TYPE.CLICK, `filter:edited`);
const filters = [...props.filters];
filters[i] = filter;
onFiltersUpdated(filters);
Expand Down

0 comments on commit 815b636

Please sign in to comment.