mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-170): improve product name checks in RecordingForm for better matching
This commit is contained in:
@@ -335,9 +335,11 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
||||
const productName = product.product.name;
|
||||
|
||||
if (
|
||||
productName === 'Ayam Mati' ||
|
||||
productName === 'Ayam Culling' ||
|
||||
productName === 'Ayam Afkir'
|
||||
productName.toLowerCase().includes('ayam') ||
|
||||
productName.toLowerCase().includes('chicken') ||
|
||||
productName.toLowerCase().includes('culling') ||
|
||||
productName.toLowerCase().includes('mati') ||
|
||||
productName.toLowerCase().includes('afkir')
|
||||
) {
|
||||
options.push({
|
||||
value: product.id,
|
||||
|
||||
Reference in New Issue
Block a user