diff --git a/blocks/gmo-program-details/gmo-program-details.js b/blocks/gmo-program-details/gmo-program-details.js index 232e12a..22430cf 100644 --- a/blocks/gmo-program-details/gmo-program-details.js +++ b/blocks/gmo-program-details/gmo-program-details.js @@ -1214,19 +1214,9 @@ function refreshCalendar(period, view) { block.querySelector('.calendar-wrapper').remove(); block.querySelector('.filter-dropdown-content').remove(); - buildCalendar(calendarDeliverables, block, view, deliverableMapping, period); + buildCalendar(calendarDeliverables, block, view, deliverableMappings, period); } -// ? -/* -function lookupType(rawText) { - const typeMatch = deliverableMapping.filter(item => item.value === rawText); - const typeText = typeMatch.length > 0 ? typeMatch[0].text : rawText; - return typeText; -} - */ - - function calendarYears(startYear, endYear) { let years = []; for (let year = startYear; year <= endYear; year++) {