This commit is contained in:
Samandar Turg'unboev
2025-06-26 17:03:19 +05:00
parent ace1516293
commit 74c259ccf4
2 changed files with 2 additions and 2 deletions

View File

@@ -277,7 +277,7 @@ const DashboardCreateBoxPage = ({ initialValues, partiesData }: Props) => {
const item_delete_promises = initialValues.products_list
.filter(item => {
if (!updateBody.items.find(i => String(i.id) === String(item.id))) {
if (!updateBody.items?.find(i => String(i.id) === String(item.id))) {
return true;
} else {
return false;