Service Configuration
dashboardConfig - Inside you service options:
dashboardConfig: { sideBarIconName: 'user', }// Example - hide updatedAt field dashboardConfig: { defaultFieldsToDisplay: ['_id','createdAt'], }// Example - To hide updatedAt dashboardConfig: { docLayout: [ ['name','color'] // render fields in the same row 'tags', 'type', { when: { field: 'type', equalTo: 'other', then: ['otherType','info'], // render this fields only when otherwise: ['info'] } } ], }// Example - hide updatedAt field const options = { dashboardConfig: { populate: ['users'], } }
Last updated
Was this helpful?