File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 ] } ;
You can’t perform that action at this time.
0 commit comments