@vizzly/dashboard 0.14.4-dev-ccaf75085dc6cf02a2e1f26d9978e485cb4a195e → 0.14.4-dev-fe28df18fa05120d1244df24b563dc85883e8f02
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.
- package/dist/dashboard.cjs.development.js +7 -1
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +7 -1
- package/dist/{shared-ui/src/library/DataPanel → shared-logic/src/CustomField}/metricValuesHaveAggregates.d.ts +1 -1
- package/dist/shared-logic/src/DataSet/fieldFilterOptions.d.ts +1 -0
- package/package.json +2 -2
|
@@ -11935,6 +11935,11 @@ function filterFields(originalFields, options) {
|
|
|
11935
11935
|
return !isCustomBuildMetric(field);
|
|
11936
11936
|
});
|
|
11937
11937
|
}
|
|
11938
|
+
if (options != null && options.removeAggregateCustomBuildMetric) {
|
|
11939
|
+
fields = fields.filter(function (field) {
|
|
11940
|
+
return !isCustomBuildMetric(field) || field.metric.type === PropertyType.Field || field.metric.type === PropertyType.NumberInput;
|
|
11941
|
+
});
|
|
11942
|
+
}
|
|
11938
11943
|
if (options != null && options.removeConditional) {
|
|
11939
11944
|
fields = fields.filter(function (field) {
|
|
11940
11945
|
return !isConditional(field);
|
|
@@ -12135,7 +12140,8 @@ var buildDownloadQuery = function buildDownloadQuery(dataSet, maxCSVDownloadLimi
|
|
|
12135
12140
|
var fields = filterFields(dataSet.fields, {
|
|
12136
12141
|
removeAggregateMaths: true,
|
|
12137
12142
|
removePercentage: true,
|
|
12138
|
-
removeConditional: true
|
|
12143
|
+
removeConditional: true,
|
|
12144
|
+
removeAggregateCustomBuildMetric: true
|
|
12139
12145
|
});
|
|
12140
12146
|
var measure = [].concat(fields).map(function (field) {
|
|
12141
12147
|
return {
|