Skip to content

Commit

Permalink
chore: fix groupBy field bug (#5411)
Browse files Browse the repository at this point in the history
Signed-off-by: samuel.park <[email protected]>
  • Loading branch information
piggggggggy authored Jan 3, 2025
1 parent 903dd5f commit b18285c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export const widgetFieldDefaultValueSetterRegistry: WidgetFieldDefaultValueSette
const _fieldsSchema = integrateFieldsSchema(widgetConfig.requiredFieldsSchema, widgetConfig.optionalFieldsSchema);
const groupByOptions = (_fieldsSchema.groupBy?.options ?? {}) as GroupByOptions;

const result = widgetFieldDefaultValueMap.categoryBy;
const result = widgetFieldDefaultValueMap.groupBy;

let fieldKeys = sortWidgetTableFields(Object.keys(dataTable?.[groupByOptions.dataTarget] ?? {}));
if (groupByOptions.fixedValue) {
Expand Down

0 comments on commit b18285c

Please sign in to comment.