There was an error while loading. Please reload this page.
2 parents 798cca4 + 3dca45b commit b5335bfCopy full SHA for b5335bf
1 file changed
src/utils/filters.js
@@ -243,7 +243,8 @@ export function generateFilterOptions(layerData) {
243
((layerData.layerObj && layerData.layerObj.aggregate) || layerData.aggregate)[
244
ACCEPTED_FILTER_VALUES
245
][f];
246
- if (!!acceptedFilterValues && typeof acceptedFilterValues !== 'string' && layerData[DATA_PARSE][filter] && layerData[DATA_PARSE][filter].type !== MULTIPLE) {
+ if (!!acceptedFilterValues && typeof acceptedFilterValues !== 'string'
247
+ && layerData[DATA_PARSE] && layerData[DATA_PARSE][filter] && layerData[DATA_PARSE][filter].type !== MULTIPLE) {
248
if (acceptedFilterValues.indexOf(datum[filter]) === -1) {
249
doPushDatum = false;
250
break;
0 commit comments