Skip to content

Commit

Permalink
Justeringer komponentnavn
Browse files Browse the repository at this point in the history
  • Loading branch information
PerOlavM committed Aug 27, 2024
1 parent 74f85bd commit 348cf52
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/_common/filter-bar/FilterBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const FilterBar = ({ layoutProps }: Props) => {
kategori: filter.categoryName,
filternavn: filter.filterName,
opprinnelse: 'innholdtekst',
komponent: FilterBar.name,
komponent: 'FilterBar',
});
saveScrollPosition();
toggleFilter(filter.id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const MobileView = ({
setIsOpen(!isOpen);
logAmplitudeEvent(AnalyticsEvents.FILTER, {
kategori: 'mobile-toggle',
komponent: MobileView.name,
opprinnelse: 'oversiktsside filter mobil',
komponent: 'MobileView',
});
}}
className={style.mobileFilterButton}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const OverviewAreaFilter = ({ items }: Props) => {
kategori: 'område',
filternavn: area,
opprinnelse: 'oversiktsside områder',
komponent: OverviewAreaFilter.name,
komponent: 'OverviewAreaFilter',
});
setAreaFilter(area);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const OverviewTaxonomyFilter = ({ items }: Props) => {
kategori: 'type',
filternavn: taxonomy,
opprinnelse: 'oversiktsside typer',
komponent: OverviewTaxonomyFilter.name,
komponent: 'OverviewTaxonomyFilter',
});
setTaxonomyFilter(taxonomy);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const OverviewTextFilter = ({ hideLabel }: Props) => {
logAmplitudeEvent(AnalyticsEvents.FILTER, {
kategori: 'fritekst',
filternavn: value,
komponent: OverviewTextFilter.name,
komponent: 'OverviewTextFilter',
});
}, 500),
[setTextFilter]
Expand Down
2 changes: 1 addition & 1 deletion src/components/parts/filters-menu/FiltersMenuPart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const FiltersMenuPart = ({ config, path }: PartComponentProps<PartType.Fi
logAmplitudeEvent(AnalyticsEvents.FILTER, {
kategori: category.categoryName,
filternavn: filter.filterName,
komponent: FiltersMenuPart.name,
opprinnelse: 'filtermeny',
komponent: 'FiltersMenuPart',
});
toggleFilter(filter.id);
};
Expand Down

0 comments on commit 348cf52

Please sign in to comment.