Skip to content

Commit

Permalink
fix: SKFP-734 adress mr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aperron-ferlab committed Feb 15, 2024
1 parent c020cfb commit 52acfef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const trackFilterActions = (action: string, tabId: string) => {
case FilterActionType.CREATE_FILTER:
message = 'Creating new Filter';
break;
case FilterActionType.UPDATE_FILER:
case FilterActionType.UPDATE_FILTER:
message = 'Updating existing Filter';
break;
case FilterActionType.REMOVE_FILTER:
Expand Down
4 changes: 2 additions & 2 deletions src/views/DataExploration/components/PageContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const { Title } = Typography;
export const MAX_TITLE_LENGTH = 200;

export enum FilterActionType {
UPDATE_FILER = 'UPDATE_FILER',
UPDATE_FILTER = 'UPDATE_FILTER',
CREATE_FILTER = 'CREATE_FILTER',
REMOVE_FILTER = 'REMOVE_FILTER',
FAVORITE_FILTER = 'CREATE_SET',
Expand Down Expand Up @@ -150,7 +150,7 @@ const PageContent = ({
};

const handleOnUpdateFilter = (filter: ISavedFilter) => {
trackFilterActions(FilterActionType.UPDATE_FILER, tabId);
trackFilterActions(FilterActionType.UPDATE_FILTER, tabId);
dispatch(updateSavedFilter(filter));
};
const handleOnSaveFilter = (filter: ISavedFilter) => {
Expand Down

0 comments on commit 52acfef

Please sign in to comment.