File tree Expand file tree Collapse file tree
packages/ra-ui-materialui/src/list/datatable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,22 +111,21 @@ export const ColumnsSelector = ({ children }: ColumnsSelectorProps) => {
111111 </ DataTableColumnFilterContext . Provider >
112112 </ DataTableColumnRankContext . Provider >
113113 ) ) }
114- < Box
115- component = "li"
116- className = "columns-selector-actions"
117- sx = { { textAlign : 'center' , mt : 1 } }
118- >
119- < Button
120- onClick = { ( ) => {
121- setColumnRanks ( undefined ) ;
122- setHiddenColumns ( defaultHiddenColumns ) ;
123- } }
124- label = { translate ( 'ra.action.reset' , {
125- _ : 'Reset' ,
126- } ) }
127- />
128- </ Box >
129114 </ MenuList >
115+ < Box
116+ className = "columns-selector-actions"
117+ sx = { { textAlign : 'center' , mb : 1 } }
118+ >
119+ < Button
120+ onClick = { ( ) => {
121+ setColumnRanks ( undefined ) ;
122+ setHiddenColumns ( defaultHiddenColumns ) ;
123+ } }
124+ label = { translate ( 'ra.action.reset' , {
125+ _ : 'Reset' ,
126+ } ) }
127+ />
128+ </ Box >
130129 </ Box > ,
131130 container
132131 ) ;
You can’t perform that action at this time.
0 commit comments