Replace lists by sets in the apply action cache

This commit is contained in:
Jonas Lochmann
2020-09-28 02:00:00 +02:00
parent 8d65c5d777
commit 8ebeadad5a
24 changed files with 55 additions and 46 deletions
@@ -69,6 +69,6 @@ export async function dispatchUpdateCategoryBlockedTimes ({ action, cache, fromC
transaction: cache.transaction
})
cache.categoriesWithModifiedBaseData.push(action.categoryId)
cache.categoriesWithModifiedBaseData.add(action.categoryId)
cache.areChangesImportant = true
}