Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/packages/volto-techevent/news/22.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add time indication for all slots in a Schedule block. @ericof
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,15 @@ const DaySchedule = (props) => {
);
})}
{(() => {
const timeSlots = {};
const finalSlots = [];
slots.forEach((slot, slotIndex) => {
if (slot.gridColumn?.startsWith('room-1')) {
if (timeSlots[slot.start] === undefined) {
const slot_category =
slot.slot_category && slot.slot_category !== 'activity'
? slot.slot_category
: slot['@type'];
timeSlots[slot.start] = true;
finalSlots.push({
'@type': 'aside',
start: slot.start,
Expand Down
Loading