Skip to content

Commit b1704e1

Browse files
authored
Merge pull request #1174 from cambridge-cares/hotfix-nosliderhandler-stop
1d data hotfix
2 parents 8940075 + 8c6cec8 commit b1704e1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

web/twa-vis-framework/library/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
# TWA-VF Change Log
44

5+
## 4.7.1
6+
7+
### Bug Fixes
8+
9+
* Fixed issue where data with no dimensions was looking for a `SliderHandler`
10+
511
## 4.7.0
612

713
### Features
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.0
1+
4.7.1

web/twa-vis-framework/library/src/ts/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class Manager {
257257
return Promise.resolve();
258258
}
259259

260-
if (this.sliderHandler.scenarioDimensionsData) {
260+
if (this.sliderHandler && this.sliderHandler.scenarioDimensionsData) {
261261
dataJSON = DataGroup.handleDimensions(dataJSON, this.sliderHandler.scenarioDimensionsData, value)
262262
}
263263

0 commit comments

Comments
 (0)