Opravy dle SonarQube
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
2025-08-07 13:12:55 +02:00
parent 0d90453c38
commit 52769fc981
11 changed files with 24 additions and 67 deletions

View File

@@ -300,9 +300,7 @@ export const getMenuTechTower = async (firstDayOfWeek: Date, mock: boolean = fal
price = `${split.slice(1)[0]}\xA0Kč`
name = split[0].replace('•', '');
}
if (result[currentDayIndex] == null) {
result[currentDayIndex] = [];
}
result[currentDayIndex] ??= [];
result[currentDayIndex].push({
amount: '-',
name,