@homefile/components-v2 2.11.2 → 2.11.3

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.
@@ -47,6 +47,6 @@ export const GroupCard = (_a) => {
47
47
  onAddImage(fileMapped);
48
48
  }
49
49
  };
50
- return (_jsx(ItemCard, Object.assign({ brandLabel: brand, imageUrl: hasImage ? imageUrl : storeImage, onAddImage: handleImage, onClickDelete: onClickDelete, onClickDetails: onClickDetails, disabled: itemsDisabled }, props, reportData), _id));
50
+ return (_jsx(ItemCard, Object.assign({ brandLabel: String(brand), imageUrl: hasImage ? imageUrl : storeImage, onAddImage: handleImage, onClickDelete: onClickDelete, onClickDetails: onClickDetails, disabled: itemsDisabled }, props, reportData), _id));
51
51
  }) }))] })] }) }));
52
52
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.11.2",
3
+ "version": "2.11.3",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -112,7 +112,7 @@ export const GroupCard = ({
112
112
  return (
113
113
  <ItemCard
114
114
  key={_id}
115
- brandLabel={brand as string}
115
+ brandLabel={String(brand)}
116
116
  imageUrl={hasImage ? imageUrl : storeImage}
117
117
  onAddImage={handleImage}
118
118
  onClickDelete={onClickDelete}