π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: enable attachment aggregation
DarkPhoenix2704bd37f9b67603
diff --git a/packages/nocodb-sdk/src/lib/aggregationHelper.ts b/packages/nocodb-sdk/src/lib/aggregationHelper.tsindex 1051f49f06..7699c6bf4d 100644--- a/packages/nocodb-sdk/src/lib/aggregationHelper.ts+++ b/packages/nocodb-sdk/src/lib/aggregationHelper.ts@@ -56,7 +56,7 @@ const AllAggregations = {...DateAggregations,};-type AggregationValue = typeof AllAggregations[keyof typeof AllAggregations]+type AggregationValue = (typeof AllAggregations)[keyof typeof AllAggregations];const getAvailableAggregations = (type: string, parsed_tree?): string[] => {let returnAggregations = [];@@ -122,7 +122,7 @@ const getAvailableAggregations = (type: string, parsed_tree?): string[] => {break;case UITypes.Button:case UITypes.Attachment:- return [CommonAggregations.None];+ return [CommonAggregations.None, AttachmentAggregations.AttachmentSize];}if (!returnAggregations.length) {