Skip to content

Commit

Permalink
fix: add custom attributes to category option
Browse files Browse the repository at this point in the history
  • Loading branch information
Chisomchima committed Nov 14, 2024
1 parent 54c228f commit f2c7335
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/lib/sectionList/listViews/sectionListViewsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const defaultModelViewConfig = {
'createdBy',
'href',
'id',
'lastUpdatedBy',
DESCRIPTORS.publicAccess,
],
default: ['name', DESCRIPTORS.publicAccess, 'lastUpdated'],
Expand Down Expand Up @@ -107,7 +108,19 @@ export const modelListViewsConfig = {
},
},
categoryOption: {
columns: {},
columns: {
available: [
'name',
'code',
'created',
'createdBy',
'href',
'id',
DESCRIPTORS.publicAccess,
],
default: ['name', DESCRIPTORS.publicAccess, 'lastUpdated'],
overrideDefaultAvailable: true,
},
filters: {
default: ['category', 'categoryOptionGroup'],
},
Expand Down

0 comments on commit f2c7335

Please sign in to comment.