From 4e40aba5446b9e5c2991c2fac4b9f44a44bbba35 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Thu, 6 Nov 2025 09:21:01 +0700 Subject: [PATCH] refactor(FE-170): refine product name checks in RecordingForm by removing specific keywords --- .../pages/production/recording/form/RecordingForm.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx index e065ec96..571bd0db 100644 --- a/src/components/pages/production/recording/form/RecordingForm.tsx +++ b/src/components/pages/production/recording/form/RecordingForm.tsx @@ -335,8 +335,6 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { const productName = product.product.name; if ( - productName.toLowerCase().includes('ayam') || - productName.toLowerCase().includes('chicken') || productName.toLowerCase().includes('culling') || productName.toLowerCase().includes('mati') || productName.toLowerCase().includes('afkir')