@tap-payments/os-micro-frontend-shared 0.1.257-test.2 → 0.1.257-test.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.
|
@@ -35,7 +35,7 @@ export default function MerchantItem({ brands, isLoading, onFilterChange, mercha
|
|
|
35
35
|
const allMerchants = brands.flatMap((brand) => brand.merchants.map(({ legacy_id }) => legacy_id));
|
|
36
36
|
onFilterChange === null || onFilterChange === void 0 ? void 0 : onFilterChange(allMerchants);
|
|
37
37
|
};
|
|
38
|
-
const isDisabled = isLoading || (brands === null || brands === void 0 ? void 0 : brands.length)
|
|
38
|
+
const isDisabled = isLoading || !(brands === null || brands === void 0 ? void 0 : brands.length);
|
|
39
39
|
return (_jsxs(MenuItem, Object.assign({ isDisabled: isDisabled, isSelected: isAllSelected, hideCheckbox: hideCheckbox, isIndeterminate: isSomeSelected, sx: Object.assign(Object.assign({ maxHeight: 36, minHeight: 36, padding: '12px 8px 12px 16px' }, (open && { boxShadow: '0px 0px 16px 0px #00000021' })), (isDisabled && {
|
|
40
40
|
pointerEvents: 'none',
|
|
41
41
|
opacity: 0.5,
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.257-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.257-test.3",
|
|
5
|
+
"testVersion": 3,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|