From e7faa6bb5dc33f576cb53cd1f4716bf2c6b03571 Mon Sep 17 00:00:00 2001
From: FIN-IT_AndriFP <andrifebriyadiputra@gmail.com>
Date: Thu, 8 Jan 2026 13:27:25 +0700
Subject: (andri) hide brand in specs

---
 src-migrate/modules/product-detail/components/ProductDetail.tsx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')

diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 2652106c..a98cb0a4 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -169,8 +169,13 @@ const ProductDetail = ({ product }: Props) => {
 
         // 1. Specs Matrix (Processed Grouping)
         if (data.specsMatrix && Array.isArray(data.specsMatrix)) {
-           const processed = processMatrixData(data.specsMatrix);
-           setSpecsMatrix(processed);
+            const filteredMatrix = data.specsMatrix.filter((item: any) => {
+            const code = item.code || '';
+            return !code.includes('z_brand');
+        });
+
+        const processed = processMatrixData(filteredMatrix);
+        setSpecsMatrix(processed);
         } else {
            setSpecsMatrix([]);
         }
-- 
cgit v1.2.3

