@lightdash/common 0.1416.1 → 0.1417.0
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.
@@ -334,7 +334,7 @@ const getAvailableSegmentDimensions = (dimensions) => dimensions
|
|
334
334
|
!d.timeIntervalBaseDimensionName);
|
335
335
|
exports.getAvailableSegmentDimensions = getAvailableSegmentDimensions;
|
336
336
|
const getAvailableCompareMetrics = (metrics) => metrics
|
337
|
-
.filter((metric) => !!metric.
|
337
|
+
.filter((metric) => !!metric.timeDimension)
|
338
338
|
.filter((metric) => metric.type !== field_1.MetricType.STRING &&
|
339
339
|
metric.type !== field_1.MetricType.BOOLEAN &&
|
340
340
|
metric.type !== field_1.MetricType.DATE &&
|