From 89d8abf2c0b7af2428f2aa02171082f6fde58cdf Mon Sep 17 00:00:00 2001 From: mdickson-adbe <95774602+mdickson-adbe@users.noreply.github.com> Date: Fri, 24 May 2024 16:56:26 -0400 Subject: [PATCH] platforms mapping with graphql (#94) - also cleaned up extraneous/defunct code --- .../gmo-campaign-details.js | 40 +++++++++++-------- scripts/shared-mappings.js | 40 ------------------- 2 files changed, 24 insertions(+), 56 deletions(-) diff --git a/blocks/gmo-campaign-details/gmo-campaign-details.js b/blocks/gmo-campaign-details/gmo-campaign-details.js index 11c878f1..ca6f9e19 100644 --- a/blocks/gmo-campaign-details/gmo-campaign-details.js +++ b/blocks/gmo-campaign-details/gmo-campaign-details.js @@ -9,7 +9,7 @@ import { searchAsset } from '../../scripts/assets.js'; let blockConfig; const programName = getQueryVariable('programName'); const deliverableMappings = resolveMappings("getDeliverableTypeMapping"); -//const productMappings = resolveMappings("getProductList"); +const platformMappings = resolveMappings("getPlatformsMapping"); export default async function decorate(block) { @@ -104,9 +104,7 @@ export default async function decorate(block) {
- ${artifactLinks} -