Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Fixes bug in countervalues logic
Browse files Browse the repository at this point in the history
it was making 'latest' go to zero when no network
  • Loading branch information
gre committed Apr 29, 2021
1 parent 25b31f5 commit c252dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/countervalues/logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ function generateCache(
}
}
}
if (!map.has("latest") && settings.autofillGaps) {
if (!map.get("latest") && settings.autofillGaps) {
map.set("latest", shiftingValue);
}
} else {
Expand Down

0 comments on commit c252dcc

Please sign in to comment.