diff --git a/src/countervalues/logic.js b/src/countervalues/logic.js index c76292c598..944407e4dc 100644 --- a/src/countervalues/logic.js +++ b/src/countervalues/logic.js @@ -421,7 +421,7 @@ function generateCache( } } } - if (!map.has("latest") && settings.autofillGaps) { + if (!map.get("latest") && settings.autofillGaps) { map.set("latest", shiftingValue); } } else {