bug fixed

This commit is contained in:
Malini 2025-11-25 10:13:38 +05:30
parent 42bf281d95
commit 89c5243b2d

View File

@ -2629,7 +2629,9 @@ const handleView = async (id) => {
password: form.userProfilePassword || ''
},
establishment_products: Array.isArray(selectedProducts) && selectedProducts.length > 0
? selectedProducts.map(p => ({ product_id: p.id || p.product_id || 0
? selectedProducts.map(p => ({ product_id: p.id || p.product_id || 0,
action_done_by: "admin_users" ,
created_by: currentUserId?.id
}))
: [],
};