Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Commit 9309da6

Browse files
chore: release 2.2.1
1 parent 6f1e2e3 commit 9309da6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/bundle.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@
133133
var location = getLocation(lgas, states, zones, stockCount);
134134
var locationThresholds = void 0;
135135
if (location && location.level === 'zone') {
136-
locationThresholds = _this2.thresholdsService.calculateThresholds(location, stockCount, products, requiredAllocations[location._id]);
136+
// Temporary fix for https://github.com/fielded/nav-integrated-national-dashboard/issues/265
137+
// This should be removed when https://github.com/fielded/nav-etl/issues/136 is fixed
138+
locationThresholds = _this2.thresholdsService.calculateThresholds(location, stockCount, products, requiredAllocations[location._id], { version: 'last' });
137139
} else {
138140
locationThresholds = _this2.thresholdsService.calculateThresholds(location, stockCount, products);
139141
}

dist/bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)