@vizzly/dashboard 0.15.1 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39554,10 +39554,14 @@ var FiltersModal = function FiltersModal(_ref) {
|
|
|
39554
39554
|
singular: 'field',
|
|
39555
39555
|
plural: 'fields'
|
|
39556
39556
|
},
|
|
39557
|
-
listOfFields: humanReadableList([].concat(filter.appliesToFields).
|
|
39558
|
-
|
|
39559
|
-
|
|
39560
|
-
|
|
39557
|
+
listOfFields: humanReadableList([].concat(filter.appliesToFields).flatMap(function (field) {
|
|
39558
|
+
try {
|
|
39559
|
+
var dataSet = find(dataSets, field.dataSetId);
|
|
39560
|
+
return [findField(dataSet, field.fieldId).publicName];
|
|
39561
|
+
} catch (e) {
|
|
39562
|
+
logWarning(e);
|
|
39563
|
+
return [];
|
|
39564
|
+
}
|
|
39561
39565
|
}), true, textOverride),
|
|
39562
39566
|
numberOfFields: filter.appliesToFields.length,
|
|
39563
39567
|
filterType: typeToString(filter.type, textOverride)
|