Commit 7f3f480
committed
Fix "Invalid array length" error
If an object has more keys than `groupArraysAfterLength`, then it will be rendered as an Array due to the changes in mac-s-g#336
Fix this logic so only arrays are rendered as arrays.
Fixes mac-s-g#3401 parent 34c3994 commit 7f3f480
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 11 | | |
| 12 | + | |
15 | 13 | | |
16 | | - | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
0 commit comments