From dc7b57dd3744e0dd7681f11911df7b7418107559 Mon Sep 17 00:00:00 2001 From: Joao Fidelis Date: Fri, 26 Jul 2019 10:52:13 -0300 Subject: [PATCH] father to parent --- .../components/ProductSummaryAttachmentList/AttachmentItem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/components/ProductSummaryAttachmentList/AttachmentItem.js b/react/components/ProductSummaryAttachmentList/AttachmentItem.js index a7d38292..5e08f164 100644 --- a/react/components/ProductSummaryAttachmentList/AttachmentItem.js +++ b/react/components/ProductSummaryAttachmentList/AttachmentItem.js @@ -18,7 +18,7 @@ const AttachmentItem = ({ const childrenAdded = (assemblyOptions && assemblyOptions.added) || [] const childrenRemoved = (assemblyOptions && assemblyOptions.removed) || [] const filteredChildrenAdded = reject(itemShouldHide, childrenAdded) - const fatherColor = + const parentColor = filteredChildrenAdded.length > 0 || childrenRemoved.length > 0 ? 'c-on-base' : 'c-muted-2' @@ -26,7 +26,7 @@ const AttachmentItem = ({ return (
- {productText} + {productText} {price != null && showItemPrice && price > 0 && (