File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class IgxPivotFilteringService extends IgxFilteringService {
18
18
const config = ( grid as IgxPivotGridComponent ) . pivotConfiguration ;
19
19
const allDimensions = PivotUtil . flatten ( config . rows . concat ( config . columns ) . concat ( config . filters ) . filter ( x => x !== null ) ) ;
20
20
const enabledDimensions = allDimensions . filter ( x => x && x . enabled ) ;
21
- const dim = enabledDimensions . find ( x => x . memberName === fieldName || x . member === fieldName ) ;
21
+ const dim = enabledDimensions . find ( x => x . memberName === fieldName || x . member === fieldName ) || { } ;
22
22
dim . filters = undefined ;
23
23
grid . filteringPipeTrigger ++ ;
24
24
if ( PivotUtil . flatten ( config . columns ) . indexOf ( dim ) !== - 1 ) {
You can’t perform that action at this time.
0 commit comments