File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -217,14 +217,17 @@ export const Pinning: TableFeature = {
217
217
top : ( old ?. top ?? [ ] ) . filter ( d => ! rowIds ?. has ( d ) ) ,
218
218
bottom : [
219
219
...( old ?. bottom ?? [ ] ) . filter ( d => ! rowIds ?. has ( d ) ) ,
220
- ...rowIds ,
220
+ ...Array . from ( rowIds ) ,
221
221
] ,
222
222
}
223
223
}
224
224
225
225
if ( position === 'top' ) {
226
226
return {
227
- top : [ ...( old ?. top ?? [ ] ) . filter ( d => ! rowIds ?. has ( d ) ) , ...rowIds ] ,
227
+ top : [
228
+ ...( old ?. top ?? [ ] ) . filter ( d => ! rowIds ?. has ( d ) ) ,
229
+ ...Array . from ( rowIds ) ,
230
+ ] ,
228
231
bottom : ( old ?. bottom ?? [ ] ) . filter ( d => ! rowIds ?. has ( d ) ) ,
229
232
}
230
233
}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export function mergeProxy(...sources: any): any {
73
73
const keys = [ ]
74
74
for ( let i = 0 ; i < sources . length ; i ++ )
75
75
keys . push ( ...Object . keys ( resolveSource ( sources [ i ] ) ) )
76
- return [ ...new Set ( keys ) ]
76
+ return [ ...Array . from ( new Set ( keys ) ) ]
77
77
} ,
78
78
} ,
79
79
propTraps
You can’t perform that action at this time.
0 commit comments