|
@@ -778,7 +778,7 @@ export const combineGroups = (groups: Group[]) => { |
|
|
const firstGroupPlace = firstGroup[GROUP_PLACE_INDEX]; |
|
|
const firstGroupPlace = firstGroup[GROUP_PLACE_INDEX]; |
|
|
const groupsSorted = []; |
|
|
const groupsSorted = []; |
|
|
for (let i = maxPlace; i >= minPlace; i -= 1) { |
|
|
for (let i = maxPlace; i >= minPlace; i -= 1) { |
|
|
const thisGroup = groups.find((g) => g[GROUP_PLACE_INDEX] === i) ?? [...EMPTY_PLACE]; |
|
|
|
|
|
|
|
|
const thisGroup = groups.find((g) => g[GROUP_PLACE_INDEX] === i) ?? [EMPTY_GROUP_DIGITS, i]; |
|
|
groupsSorted.push(thisGroup); |
|
|
groupsSorted.push(thisGroup); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|