Skip to content

Commit 83d008a

Browse files
committed
try
1 parent b25741c commit 83d008a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

CountItems/CountManager.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@ class CountManager {
7272
&& results.dataManaged.locations
7373
&& results.dataManaged.total) {
7474
const { locations, total } = results.dataManaged;
75-
this.store.dataManaged.total.curr += total.curr;
76-
this.store.dataManaged.total.prev += total.prev;
75+
// eslint-disable-next-line no-console
76+
console.log('total.curr', total.curr);
77+
this.store.dataManaged.total.curr += BigInt(total.curr);
78+
// eslint-disable-next-line no-console
79+
console.log('total.prev', total.prev);
80+
this.store.dataManaged.total.prev += BigInt(total.prev);
7781
Object.keys(locations).forEach(site => {
7882
if (!this.store.dataManaged.byLocation[site]) {
7983
this.store.dataManaged.byLocation[site] = { ...locations[site] };

0 commit comments

Comments
 (0)