From 6fdb259246d60e6b3c96acd699fee2a236a37196 Mon Sep 17 00:00:00 2001 From: Fachba Date: Thu, 8 Jan 2026 14:32:27 +0700 Subject: [PATCH] fixing validate solution optional in brand error code --- src/pages/master/brandDevice/EditBrandDevice.jsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/pages/master/brandDevice/EditBrandDevice.jsx b/src/pages/master/brandDevice/EditBrandDevice.jsx index 5aa8213..d0eed90 100644 --- a/src/pages/master/brandDevice/EditBrandDevice.jsx +++ b/src/pages/master/brandDevice/EditBrandDevice.jsx @@ -479,14 +479,14 @@ const EditBrandDevice = () => { return; } - if (!solutionData || solutionData.length === 0) { - NotifAlert({ - icon: 'warning', - title: 'Perhatian', - message: 'Setiap error code harus memiliki minimal 1 solution!', - }); - return; - } + // if (!solutionData || solutionData.length === 0) { + // NotifAlert({ + // icon: 'warning', + // title: 'Perhatian', + // message: 'Setiap error code harus memiliki minimal 1 solution!', + // }); + // return; + // } const formattedSolutions = solutionData.map(solution => { const solutionType = solution.type || 'text';