Skip to content

Commit

Permalink
feat: added new configuration of content folder columns (#439)
Browse files Browse the repository at this point in the history
* feat: added new configuration of content folder columns

* chore: updated object type with render component from site configuration

* chore: updated ContentsItems indexes props
  • Loading branch information
SaraBianchi authored Dec 21, 2023
1 parent d87ccc0 commit 2e16de5
Show file tree
Hide file tree
Showing 3 changed files with 733 additions and 104 deletions.
16 changes: 16 additions & 0 deletions src/config/italiaConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,22 @@ export default function applyConfig(voltoConfig) {
Faq: faQuestionSVG,
},

/* lista delle colonne di default da visualizzare nella Content Folder */
customDefaultIndexes: [
// ...config.settings.customDefaultIndexes,
// 'ufficio_responsabile_bando',
],
/* lista delle colonne custom da poter visualizzare nella Content Folder */
customIndexes: {
// ...config.settings.customIndexes,
// ufficio_responsabile_bando: {
// label: 'Bandi gara - Uff. Resp.',
// type: 'object',
// sort_on: 'ufficio_responsabile_bando',
// component: (item) => <>{item.ufficio_responsabile_bando.title}</>,
// },
},

imageScales: {
listing: 16,
icon: 32,
Expand Down
Loading

0 comments on commit 2e16de5

Please sign in to comment.