File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed
src/table/MainHeader/Filter/FiltersPerColumn/UiTypes Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " beautiful-react-table" ,
3- "version" : " 7.7.8 " ,
3+ "version" : " 7.7.9 " ,
44 "description" : " My first react typescript package" ,
55 "main" : " ./dist/cjs/index.js" ,
66 "module" : " ./dist/esm/index.js" ,
Original file line number Diff line number Diff line change @@ -123,15 +123,7 @@ const ModalForSingleField = ({
123123 val . length &&
124124 perColumnListForFilters ?. length
125125 ) {
126- let newPerColumnList : string [ ] = perColumnListForFilters
127- if ( ! isLoadedMoreData ) {
128- newPerColumnList = perColumnListForFilters ? [ val , ...perColumnListForFilters ] : [ val ]
129- }
130- if ( perColumnListForFilters . length === 1 ) {
131- return perColumnListForFilters
132- } else {
133- return newPerColumnList
134- }
126+ return perColumnListForFilters
135127 } else {
136128 return [ ]
137129 }
@@ -190,11 +182,11 @@ const ModalForSingleField = ({
190182 display : 'flex' ,
191183 justifyContent : 'space-between' ,
192184 minHeight : 40 ,
193- borderBottom :
194- props [ 'data-option-index' as keyof typeof props ] === 0 &&
195- ( perColumnListForFilters ?. length ?? 0 ) > 1
196- ? '1px solid #DCDCDC'
197- : 'none' ,
185+ // borderBottom:
186+ // props['data-option-index' as keyof typeof props] === 0 &&
187+ // (perColumnListForFilters?.length ?? 0) > 1
188+ // ? '1px solid #DCDCDC'
189+ // : 'none',
198190 } }
199191 >
200192 { item . ColumnName === columnName && isLoadingFilters ? (
You can’t perform that action at this time.
0 commit comments