Skip to content

Commit

Permalink
remove console log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickson-adbe committed Jun 5, 2024
1 parent aa11fbb commit 285dc9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions blocks/gmo-program-details/gmo-program-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,13 @@ async function buildTable(jsonResponse) {
const uniqueCatSet = new Set();
deliverableList.forEach(object => { uniqueCatSet.add(object['deliverableType']) })
const uniqueCategories = Array.from(uniqueCatSet);
console.log(uniqueCategories);
let emptyCategory = false;
uniqueCategories.forEach(async (category) => {
// build header row
let headerRow;
const matchingCampaigns = deliverableList.filter(deliverable => deliverable.deliverableType === category);
const matchCount = matchingCampaigns.length;
if (category == null || category == undefined || category === '') {
console.log('null category');
emptyCategory = true;
headerRow = rows;
} else {
Expand Down

0 comments on commit 285dc9b

Please sign in to comment.