@lightdash/common 0.1416.1 → 0.1417.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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 &&
|