mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 14:55:44 +00:00
refactor(FE-170): refine product name checks in RecordingForm by removing specific keywords
This commit is contained in:
@@ -335,8 +335,6 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
const productName = product.product.name;
|
const productName = product.product.name;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
productName.toLowerCase().includes('ayam') ||
|
|
||||||
productName.toLowerCase().includes('chicken') ||
|
|
||||||
productName.toLowerCase().includes('culling') ||
|
productName.toLowerCase().includes('culling') ||
|
||||||
productName.toLowerCase().includes('mati') ||
|
productName.toLowerCase().includes('mati') ||
|
||||||
productName.toLowerCase().includes('afkir')
|
productName.toLowerCase().includes('afkir')
|
||||||
|
|||||||
Reference in New Issue
Block a user