@trafilea/afrodita-components 5.0.0-beta.167 → 5.0.0-beta.168

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.
@@ -13243,7 +13243,7 @@ var ImageProductWithTags = function (_a) {
13243
13243
  var _a;
13244
13244
  if (selectedValue) {
13245
13245
  var matchingIndex = images.findIndex(function (image) { return image.imageUrl === selectedValue.imageUrl; });
13246
- if (matchingIndex) {
13246
+ if (matchingIndex !== -1) {
13247
13247
  (_a = slick.current) === null || _a === void 0 ? void 0 : _a.slickGoTo(matchingIndex);
13248
13248
  }
13249
13249
  }
package/build/index.js CHANGED
@@ -13269,7 +13269,7 @@ var ImageProductWithTags = function (_a) {
13269
13269
  var _a;
13270
13270
  if (selectedValue) {
13271
13271
  var matchingIndex = images.findIndex(function (image) { return image.imageUrl === selectedValue.imageUrl; });
13272
- if (matchingIndex) {
13272
+ if (matchingIndex !== -1) {
13273
13273
  (_a = slick.current) === null || _a === void 0 ? void 0 : _a.slickGoTo(matchingIndex);
13274
13274
  }
13275
13275
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "5.0.0-beta.167",
6
+ "version": "5.0.0-beta.168",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",