Skip to content

Commit

Permalink
[FE-16381] _layer.lastFilteredSize is not a function (#675)
Browse files Browse the repository at this point in the history
* correct function name

* rebuild
  • Loading branch information
cjvil authored Sep 17, 2024
1 parent 57619e6 commit 50dcdad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/charting.js
Original file line number Diff line number Diff line change
Expand Up @@ -102066,7 +102066,7 @@ function rasterLayerLineMixin(_layer) {
_layer.getProjections = function () {
return _layer.getTransforms("", "", "", state,
// Contour doesn't seem to go through any of the charting sampling logic, so using the group size should be fine, ostensibly
Object(__WEBPACK_IMPORTED_MODULE_4__utils_utils_contour__["e" /* isContourType */])(state) ? Object(__WEBPACK_IMPORTED_MODULE_1__core_core_async__["g" /* lastFilteredSize */])(_layer.crossfilter().getId()) : _layer.lastFilteredSize()).filter(function (transform) {
Object(__WEBPACK_IMPORTED_MODULE_4__utils_utils_contour__["e" /* isContourType */])(state) ? Object(__WEBPACK_IMPORTED_MODULE_1__core_core_async__["g" /* lastFilteredSize */])(_layer.crossfilter().getId()) : _layer.getLastFilteredSize()).filter(function (transform) {
return transform.type === "project" && transform.hasOwnProperty("as");
}).map(function (projection) {
return __WEBPACK_IMPORTED_MODULE_2__utils_utils__["i" /* parser */].parseTransform({
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/raster-layer-line-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export default function rasterLayerLineMixin(_layer) {
// Contour doesn't seem to go through any of the charting sampling logic, so using the group size should be fine, ostensibly
isContourType(state)
? lastFilteredSize(_layer.crossfilter().getId())
: _layer.lastFilteredSize()
: _layer.getLastFilteredSize()
)
.filter(
transform =>
Expand Down

0 comments on commit 50dcdad

Please sign in to comment.