@q2devel/q2-core 1.0.72 → 1.0.73
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.
|
@@ -64,7 +64,7 @@ function mapProductBase(defaultProduct, variationProduct, ctx) {
|
|
|
64
64
|
.flat();
|
|
65
65
|
const discountPercent = getDiscountPercent(variationProduct.price, variationProduct.list_price);
|
|
66
66
|
const badges = [
|
|
67
|
-
...(defaultProduct.field_configurable ? [{ text: 'Možno konfigurovat', color: 'bg-
|
|
67
|
+
...(defaultProduct.field_configurable ? [{ text: 'Možno konfigurovat', color: 'bg-gray-900 text-white' }] : []),
|
|
68
68
|
...(variationProduct.field_news
|
|
69
69
|
? [{ text: 'Novinka', color: 'bg-green-100 text-green-800' }]
|
|
70
70
|
: []),
|