Fixed deleting item after archiving it.

This commit is contained in:
ArabCoders 2024-07-11 13:48:31 +03:00
parent 736b588b8a
commit 4174997600

View file

@ -161,7 +161,7 @@ const archiveItem = (type, item) => {
return
}
sendData('archive_item', item);
deleteItem(type, item);
deleteItem(type, item._id);
}
const deleteItem = (type, item) => {