@bytebrand/fe-ui-core 4.2.68 → 4.2.69
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/__tests__/components/UserDasboardPage/sections/RequestedCarsSection/RequestedCarsSection.test.tsx +0 -1
- package/package.json +1 -1
- package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.styl +2 -4
- package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.tsx +1 -6
- package/source/components/UserDashboardPage/sections/RequestedCarsSection/SupportSection.tsx +1 -1
package/package.json
CHANGED
package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.styl
CHANGED
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
background-size: cover
|
|
131
131
|
|
|
132
132
|
.slick-next::after
|
|
133
|
-
left:
|
|
133
|
+
left: 0px
|
|
134
134
|
|
|
135
135
|
.slick-prev::after
|
|
136
136
|
transform: rotate(180deg) translateY(-50%)
|
|
@@ -142,6 +142,4 @@
|
|
|
142
142
|
|
|
143
143
|
.slick-next
|
|
144
144
|
right: -5px!important
|
|
145
|
-
top:50%!important
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
top:50%!important
|
package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.tsx
CHANGED
|
@@ -4,8 +4,6 @@ import styles from './RequestedCarsSection.styl';
|
|
|
4
4
|
import Slider from 'react-slick';
|
|
5
5
|
import DashboardSection from '../../../containers/DasboardSection/DashboardSection';
|
|
6
6
|
import SupportSection from './SupportSection';
|
|
7
|
-
import i18next from 'i18next';
|
|
8
|
-
import { translate } from 'react-i18next';
|
|
9
7
|
import Image from '../../../_common/Image/Image';
|
|
10
8
|
import { Hidden, Visible } from 'react-grid-system';
|
|
11
9
|
import { getFormattedPrice } from '../../../../framework/utils/CommonUtils';
|
|
@@ -30,10 +28,7 @@ interface IRequestedCarsSection {
|
|
|
30
28
|
initHotjar:() => void;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
const RequestedCarsSection = ({ t, getSupportedImageFormat, requestedCars, redirectToCar, LinkRouter
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
initHotjar();
|
|
36
|
-
}, []);
|
|
31
|
+
const RequestedCarsSection = ({ t, getSupportedImageFormat, requestedCars, redirectToCar, LinkRouter }: IRequestedCarsSection) => {
|
|
37
32
|
const onDetailsClick = (event: React.MouseEvent, carId: string) => {
|
|
38
33
|
redirectToCar(carId);
|
|
39
34
|
event.preventDefault();
|
package/source/components/UserDashboardPage/sections/RequestedCarsSection/SupportSection.tsx
CHANGED
|
@@ -21,7 +21,7 @@ const SupportSection: React.FunctionComponent<IProps> = ({ t , Link }) => {
|
|
|
21
21
|
<div className={styles.text}>
|
|
22
22
|
{t('DealerDashboardPage:requestedCars.customerServiceText')}</div>
|
|
23
23
|
<div className={styles.contactButton}>
|
|
24
|
-
<Link
|
|
24
|
+
<Link to='/account/kontakt'>
|
|
25
25
|
<Button size='small' color='success' variant='contained'>{t('DealerDashboardPage:requestedCars.contact')}</Button>
|
|
26
26
|
</Link>
|
|
27
27
|
</div>
|