Skip to content

Commit

Permalink
fix bug by updating variable name. delete comment (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickson-adbe authored Sep 3, 2024
1 parent 1b8f106 commit 484ef50
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions blocks/gmo-program-details/gmo-program-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 484ef50

Please sign in to comment.