Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 20, 2025
1 parent 83d008a commit a93191b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CountItems/CountManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ class CountManager {
const { locations, total } = results.dataManaged;
// eslint-disable-next-line no-console
console.log('total.curr', total.curr);
this.store.dataManaged.total.curr += BigInt(total.curr);
this.store.dataManaged.total.curr += total.curr;
// eslint-disable-next-line no-console
console.log('total.prev', total.prev);
this.store.dataManaged.total.prev += BigInt(total.prev);
this.store.dataManaged.total.prev += total.prev;
Object.keys(locations).forEach(site => {
if (!this.store.dataManaged.byLocation[site]) {
this.store.dataManaged.byLocation[site] = { ...locations[site] };
Expand Down

0 comments on commit a93191b

Please sign in to comment.