File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2998,7 +2998,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
29982998 * @internal
29992999 */
30003000 public setFilteredSortedData ( data , pinned : boolean ) {
3001- data = data . map ( rec => rec . ghostRecord !== undefined ? rec . recordRef : rec ) ;
3001+ data = data || [ ] ;
30023002 if ( this . _pinnedRecordIDs . length > 0 && pinned ) {
30033003 this . _filteredSortedPinnedData = data ;
30043004 this . pinnedRecords = data ;
@@ -5195,7 +5195,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
51955195 * ```
51965196 */
51975197 get unpinnedDataView ( ) : any [ ] {
5198- return this . unpinnedRecords ? this . unpinnedRecords : this . verticalScrollContainer . igxForOf ;
5198+ return this . unpinnedRecords ? this . unpinnedRecords : this . verticalScrollContainer . igxForOf || [ ] ;
51995199 }
52005200
52015201 /**
You can’t perform that action at this time.
0 commit comments