MOBILE-3325 settings: Fix cache entries count
This commit is contained in:
parent
f37280a12a
commit
fee7e200bc
@ -172,7 +172,7 @@ export class CoreSettingsHelper {
|
||||
let totalEntries = 0;
|
||||
|
||||
await Promise.all(clearTables.map(async (name) =>
|
||||
totalEntries += await site.getDb().countRecords(name)
|
||||
totalEntries = await site.getDb().countRecords(name) + totalEntries
|
||||
));
|
||||
|
||||
return totalEntries;
|
||||
|
Loading…
x
Reference in New Issue
Block a user