@bytebrand/fe-ui-core 4.2.221 → 4.2.222
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
CHANGED
|
@@ -115,20 +115,23 @@ const withStats = (WrappedComponent: any) => ({
|
|
|
115
115
|
const favoritesIconClassName = classnames(styles.statsStarIcon, { [styles.accented]: isFavoured });
|
|
116
116
|
|
|
117
117
|
return (
|
|
118
|
-
|
|
119
|
-
{!!totalCarImpCount
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
118
|
+
<>
|
|
119
|
+
{(!!totalCarImpCount || !!totalFavCount) && <div className={styles.section}>
|
|
120
|
+
{!!totalCarImpCount ? <div className={styles.statsViewsCount}>
|
|
121
|
+
<IconSVG name='common_SliderEye' customDimensions className={styles.statsEyeIcon} />
|
|
122
|
+
<span>
|
|
123
|
+
{totalCarImpCount}
|
|
124
|
+
</span>
|
|
125
|
+
</div> : null}
|
|
126
|
+
{!!totalFavCount ? <div className={favoritesClassName} onClick={onFavoriteClick}>
|
|
127
|
+
<IconSVG name='star' customDimensions className={favoritesIconClassName} />
|
|
128
|
+
<span>
|
|
129
|
+
{totalFavCount}
|
|
130
|
+
</span>
|
|
131
|
+
</div> : null}
|
|
132
|
+
</div>
|
|
133
|
+
}
|
|
134
|
+
</>
|
|
132
135
|
);
|
|
133
136
|
};
|
|
134
137
|
|