@bytebrand/fe-ui-core 4.2.156 → 4.2.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/source/components/VehicleSmallCard/VehicleSmallCard.styl +3 -1
- package/source/components/_common/Modal/modals/ManageCookieModal/ManageCookieModal.styl +6 -1
- package/source/components/_common/Range/Range.tsx +1 -1
- package/source/components/containers/SearchPage/FiltersContainer/FiltersContainer.tsx +4 -2
- package/source/framework/constants/common.ts +2 -1
package/package.json
CHANGED
|
@@ -54,6 +54,7 @@ interface IFiltersContainerProps extends IRouteComponentProps<PathParamsType> {
|
|
|
54
54
|
t?: (phrase: string) => string;
|
|
55
55
|
isDealerPage?: boolean;
|
|
56
56
|
isAlternative?: boolean;
|
|
57
|
+
isReferenceSearch?: boolean;
|
|
57
58
|
successTransition?: boolean;
|
|
58
59
|
isErrorAlternativeField: boolean;
|
|
59
60
|
Link?: any;
|
|
@@ -66,8 +67,8 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
|
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
componentDidUpdate(prevProps: IFiltersContainerProps) {
|
|
69
|
-
const { location, filters, resetFiltersToDefault, clearSearchState, search, activeSorting, setActiveSorting } = this.props;
|
|
70
|
-
if ((prevProps.location.search !== location.search) && !_startsWith(location.search, '?pageNumber')) {
|
|
70
|
+
const { location, filters, resetFiltersToDefault, clearSearchState, search, activeSorting, setActiveSorting, isReferenceSearch } = this.props;
|
|
71
|
+
if ((prevProps.location.search !== location.search) && !_startsWith(location.search, '?pageNumber') && !isReferenceSearch) {
|
|
71
72
|
const queryFromFilters = this.getQueryFromFilters();
|
|
72
73
|
const prevQueryFromFilters = ['pageNumber', 'activeSort'].reduce((url, param) => url.replace(new RegExp(`(^${param}=\\w*&|&${param}=\\w*)`), ''), prevProps.location.search.slice(1));
|
|
73
74
|
const paramsFromQuery = qs.parse(location.search, { ignoreQueryPrefix: true });
|
|
@@ -385,6 +386,7 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
|
|
|
385
386
|
render() {
|
|
386
387
|
const { t, onAlternativeRedirect, isAlternative, isErrorAlternativeField, Link, locationSearch, successTransition } = this.props;
|
|
387
388
|
const paramsFromQuery = qs.parse(location.search, { ignoreQueryPrefix: true });
|
|
389
|
+
|
|
388
390
|
const alternativeIDProps = {
|
|
389
391
|
t,
|
|
390
392
|
successTransition,
|
|
@@ -25,7 +25,7 @@ export const COOKIE_SCHEMA_LINKS = {
|
|
|
25
25
|
Google: 'https://policies.google.com/privacy?hl=de',
|
|
26
26
|
Criteo: 'https://www.criteo.com/de/privacy/',
|
|
27
27
|
Facebook: 'https://www.facebook.com/privacy/policies/cookies/?entry_point=cookie_policy_redirect&entry=0',
|
|
28
|
-
['Google Analytics']: '
|
|
28
|
+
['Google Analytics']: 'https://policies.google.com/privacy?hl=de',
|
|
29
29
|
Hotjar: 'https://www.hotjar.com/legal/policies/privacy/de/',
|
|
30
30
|
Microsoft: 'https://privacy.microsoft.com/de-de/privacystatement',
|
|
31
31
|
Matomo: 'https://matomo.org/privacy-policy/',
|
|
@@ -39,6 +39,7 @@ export const COOKIE_SCHEMA = {
|
|
|
39
39
|
'cf_chl_rc_ni',
|
|
40
40
|
'cf_chl_prog'
|
|
41
41
|
],
|
|
42
|
+
Firebase: [''],
|
|
42
43
|
Matomo: ['MATOMO_SESSID','_pk_ses.1.4d04', '_pk_id.1.4d04']
|
|
43
44
|
},
|
|
44
45
|
analytics: {
|