This commit is contained in:
kandrusyak
2022-08-22 15:46:39 +03:00
parent 841e82e233
commit 49f3ee17a0
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ export const hashAccountData = (data = [], oldData = [], hashMap = {}) => {
}), {})
const removed = oldData.reduce((acc, item) => {
if(!accountMap[item.label])
if(!accountMap[item.label] && hashMap[item.label])
return [...acc, {label: item.label}];
return acc
}, [])