Skip to content

Commit

Permalink
minor code polish
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Sep 17, 2024
1 parent 729691f commit 5969733
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export class PreAggregations {
return timeDimensions && R.sortBy(
R.prop(0),
timeDimensions.map(d => (d.isPredefinedGranularity() ?
[d.expressionPath(), d.rollupGranularity()] :
[d.expressionPath(), d.rollupGranularity(), null] :
// For custom granularities we need to add its name to the list (for exact matches)
[d.expressionPath(), d.rollupGranularity(), d.granularity]
))
Expand Down

0 comments on commit 5969733

Please sign in to comment.