Quick fix

This commit is contained in:
Sebastian Seedorf
2022-09-09 21:48:41 +02:00
parent 2eaf8f719b
commit cd7a6a565f

View File

@@ -107,7 +107,7 @@ export const PageDetails: FC = () => {
if (beacons + modules[0] + modules[1] === 0 && modules[2] === 2)
res = res.replace(/e3/g, 'e2')
else if (beacons + modules[0] + modules[1] === 0 && modules[2] >= 3)
res = res.replace(/e3/g, 'ee')
res = res.replace(/e3/g, 'e1')
// console.log(beacons, modules, res, dashedKey)
return res + (beaconModules ? `;${map[maxIdx]}3:${beaconModules}` : '')
}
@@ -120,14 +120,14 @@ export const PageDetails: FC = () => {
min: '3',
belt: 'express-transport-belt',
items: [
group?.malls
...(group?.malls
.map(toDashedKey)
.filter(checkIfPresent)
.map(n => `${n}:r:1`) ?? [],
group?.exports
.map(n => `${n}:r:1`) ?? []),
...(group?.exports
.map(toDashedKey)
.filter(checkIfPresent)
.map(n => `${n}:r:45`) ?? []
.map(n => `${n}:r:45`) ?? [])
].join(','),
ignore: inputFactories.map(toDashedKey).filter(checkIfPresent).join(','),
modules: [