TechTower hack pro tento specifický týden
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
Martin Berka 2025-05-20 08:02:34 +02:00
parent 49b8ab5c13
commit 5fd90de3f8

View File

@ -291,7 +291,8 @@ export const getMenuTechTower = async (firstDayOfWeek: Date, mock: boolean = fal
const result: Food[][] = [];
// TODO validovat, že v textu nalezeného <font> je rozsah, do kterého spadá vstupní datum
const siblings = secondTry ? $(font).parent().siblings() : $(font).parent().parent().siblings();
// const siblings = secondTry ? $(font).parent().siblings() : $(font).parent().parent().siblings();
const siblings = secondTry ? $(font).parent().next().children().find('p') : $(font).parent().parent().siblings();
let parsing = false;
let currentDayIndex = 0;
for (let i = 0; i < siblings.length; i++) {