File tree Expand file tree Collapse file tree 2 files changed +0
-493
lines changed
components/TaskAnalysisTable Expand file tree Collapse file tree 2 files changed +0
-493
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ export const TaskAnalysisTableInternal = (props) => {
7777 const prevSortByRef = useRef ( null ) ;
7878 const prevFiltersRef = useRef ( null ) ;
7979
80- // Column filter keys that can be set in the table
8180 const columnFilterKeys = [
8281 "id" ,
8382 "featureId" ,
@@ -92,13 +91,11 @@ export const TaskAnalysisTableInternal = (props) => {
9291
9392 const handleStateChange = useCallback (
9493 ( { sortBy, filters, pageIndex } ) => {
95- // Start with all column filters set to undefined (to clear them)
9694 const tableFilters = columnFilterKeys . reduce ( ( acc , key ) => {
9795 acc [ key ] = undefined ;
9896 return acc ;
9997 } , { } ) ;
10098
101- // Then set the values for filters that are actually set
10299 filters . forEach ( ( filter ) => {
103100 let value = filter . value ;
104101
You can’t perform that action at this time.
0 commit comments