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 5fdb18b commit b25741c
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 @@ -72,8 +72,8 @@ class CountManager {
&& results.dataManaged.locations
&& results.dataManaged.total) {
const { locations, total } = results.dataManaged;
this.store.dataManaged.total.curr += BigInt(total.curr);
this.store.dataManaged.total.prev += BigInt(total.prev);
this.store.dataManaged.total.curr += total.curr;
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 b25741c

Please sign in to comment.