File tree 1 file changed +7
-7
lines changed
packages/ra-ui-materialui/src/list/datagrid
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,13 @@ export const DatagridConfigurable = ({
72
72
child . props . label && typeof child . props . label === 'string' // this list is serializable, so we can't store ReactElement in it
73
73
? child . props . label
74
74
: child . props . source
75
- ? // force the label to be the source
76
- undefined
77
- : // no source or label, generate a label
78
- translate ( 'ra.configurable.Datagrid.unlabeled' , {
79
- column : index ,
80
- _ : `Unlabeled column #%{column}` ,
81
- } ) ,
75
+ ? // force the label to be the source
76
+ undefined
77
+ : // no source or label, generate a label
78
+ translate ( 'ra.configurable.Datagrid.unlabeled' , {
79
+ column : index ,
80
+ _ : `Unlabeled column #%{column}` ,
81
+ } ) ,
82
82
} ) ) ;
83
83
const hasChanged = newAvailableColumns . some ( column => {
84
84
const availableColumn = availableColumns . find (
You can’t perform that action at this time.
0 commit comments