From 895bd8de968cfda0235883dda050501a78e0cd49 Mon Sep 17 00:00:00 2001 From: Chisomchima Date: Tue, 22 Oct 2024 09:11:07 +0100 Subject: [PATCH] chore: add categoryOptionGroup to sectionListViewsConfig --- src/components/form/fields/DateField.tsx | 2 +- .../sectionList/listViews/sectionListViewsConfig.ts | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/form/fields/DateField.tsx b/src/components/form/fields/DateField.tsx index ed354125..68e5366c 100644 --- a/src/components/form/fields/DateField.tsx +++ b/src/components/form/fields/DateField.tsx @@ -36,6 +36,7 @@ export function DateField({
{/* TODO: we can remove style above, once inputWidth for CalendarInput is fixed */} input.onBlur(e)} clearable - label={label} {...calendarInputProps} />
diff --git a/src/lib/sectionList/listViews/sectionListViewsConfig.ts b/src/lib/sectionList/listViews/sectionListViewsConfig.ts index 4b28a174..cd3de712 100644 --- a/src/lib/sectionList/listViews/sectionListViewsConfig.ts +++ b/src/lib/sectionList/listViews/sectionListViewsConfig.ts @@ -126,6 +126,19 @@ export const modelListViewsConfig = { default: ['dataDimensionType', 'categoryCombo'], }, }, + categoryOptionGroup: { + columns: { + default: [ + 'name', + 'dataDimensionType', + DESCRIPTORS.publicAccess, + 'lastUpdated', + ], + }, + filters: { + default: ['dataDimensionType'], + }, + }, categoryCombo: { columns: { default: [