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