+ {row.absence ? (
+
+ ) : null}
+
+ {days.map((day, index) => {
+ const shifts = row.days[index] ?? [];
+ return (
+
4 && 'bg-surface-2',
+ row.absence &&
+ index >= row.absence.startDay &&
+ index < row.absence.startDay + row.absence.span &&
+ 'pt-7',
+ )}
+ >
+ {shifts.map((shift, position) => (
+
+ ))}
+
+ );
+ })}
+