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
@@ -57,6 +57,6 @@ export async function dispatchCreateTimeLimitRule ({ action, cache, fromChildSel
sessionPauseMilliseconds: action.rule.sessionPauseMilliseconds
}, { transaction: cache.transaction })
cache.categoriesWithModifiedTimeLimitRules.push(action.rule.categoryId)
cache.categoriesWithModifiedTimeLimitRules.add(action.rule.categoryId)
cache.areChangesImportant = true
}