Fixed deleting item after archiving it.
This commit is contained in:
parent
736b588b8a
commit
4174997600
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ const archiveItem = (type, item) => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
sendData('archive_item', item);
|
sendData('archive_item', item);
|
||||||
deleteItem(type, item);
|
deleteItem(type, item._id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const deleteItem = (type, item) => {
|
const deleteItem = (type, item) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue