Skip to content

Commit 8b6660c

Browse files
committed
Bug Fix: Change to using Array.from()
- Iterator.toArray() not supported on safari and old versions of FF < 131.
1 parent e5a9ad8 commit 8b6660c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/firefly/js/tables/HpxIndexCntlr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ export function getValuesForOrder(orderData,norder) {
600600
if (norder<11) return [...orderData[norder]?.tiles[0]?.values()];
601601
const joinAry= [];
602602
for(let i=0; (i<orderData[norder]?.tiles.length);i++) {
603-
joinAry.push(orderData[norder]?.tiles[i].values().toArray());
603+
joinAry.push(Array.from(orderData[norder]?.tiles[i].values()));
604604
}
605605
return joinAry.flat();
606606
}
@@ -609,7 +609,7 @@ export function getKeysForOrder(orderData,norder) {
609609
if (norder<11) return [...orderData[norder]?.tiles[0]?.keys()];
610610
const joinAry= [];
611611
for(let i=0; (i<orderData[norder]?.tiles.length);i++) {
612-
joinAry.push(orderData[norder]?.tiles[i].keys().toArray());
612+
joinAry.push(Array.from(orderData[norder]?.tiles[i].keys()));
613613
}
614614
return joinAry.flat();
615615
}

0 commit comments

Comments
 (0)