2 Commits

Author SHA1 Message Date
jacobh2 c2fa9b0e4e Add default shell
Build Frontend / build (push) Failing after 54s
2026-05-29 10:22:14 +02:00
jacobh2 9acb0ffed4 Fix table selector order 2026-05-29 10:17:55 +02:00
3 changed files with 11 additions and 5 deletions
+4 -2
View File
@@ -1,5 +1,9 @@
name: Build Backend
defaults:
run:
shell: sh
on:
push:
paths:
@@ -9,9 +13,7 @@ jobs:
build:
runs-on: host
steps:
- name: Install Git
shell: sh
run: apk add --no-cache git
- name: Checkout
+4
View File
@@ -1,5 +1,9 @@
name: Build Frontend
defaults:
run:
shell: sh
on:
push:
paths:
@@ -80,12 +80,12 @@ const Timetable = ({ from_date, to_date, day_start, day_end }: TimetableProps) =
const groups = [];
for (let i = 0; i < activeDays.length; i += 3) {
groups.push({
label: `${formatDayLabel(activeDays[i])} - ${formatDayLabel(activeDays[Math.min(i + 2, activeDays.length - 1)])}`,
label: `${formatDayLabel(activeDays[Math.min(i + 2, activeDays.length - 1)])} - ${formatDayLabel(activeDays[i])}`,
startIndex: i,
});
}
return {
visibleDays: activeDays.slice(indexInActiveDays, indexInActiveDays + 3),
visibleDays: activeDays.slice(indexInActiveDays, indexInActiveDays + 3).reverse(),
tabGroups: groups,
};
}
@@ -96,7 +96,7 @@ const Timetable = ({ from_date, to_date, day_start, day_end }: TimetableProps) =
startIndex: idx,
}));
return {
visibleDays: activeDays.slice(indexInActiveDays, indexInActiveDays + 1),
visibleDays: activeDays.slice(indexInActiveDays, indexInActiveDays + 1).reverse(),
tabGroups: groups,
};
}, [tier, days, reversedDays, selectedDayIndex]);