bug fixed
This commit is contained in:
parent
42bf281d95
commit
89c5243b2d
@ -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
|
||||
}))
|
||||
: [],
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user