From 9fa52ab0957d6f040c2ee3e96f5933b14ea4edb8 Mon Sep 17 00:00:00 2001 From: Don McKenzie Date: Tue, 7 Dec 2021 13:55:41 -0500 Subject: [PATCH] DH-11788: Enable count aggregations for non-rollups --- .../iris-grid/src/sidebar/aggregations/AggregationUtils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/iris-grid/src/sidebar/aggregations/AggregationUtils.ts b/packages/iris-grid/src/sidebar/aggregations/AggregationUtils.ts index d381aab049..e702bec273 100644 --- a/packages/iris-grid/src/sidebar/aggregations/AggregationUtils.ts +++ b/packages/iris-grid/src/sidebar/aggregations/AggregationUtils.ts @@ -8,8 +8,7 @@ import AggregationOperation from './AggregationOperation'; */ export const isRollupOperation = (type: AggregationOperation): boolean => { switch (type) { - case AggregationOperation.COUNT: - return true; + // currently no rollup only operations, but there has been in the past default: return false; }