diff --git a/packages/common/components/blocks/content/list-item.marko b/packages/common/components/blocks/content/list-item.marko index 54976d9..497ce8b 100644 --- a/packages/common/components/blocks/content/list-item.marko +++ b/packages/common/components/blocks/content/list-item.marko @@ -3,6 +3,7 @@ import defaultValue from "@parameter1/base-cms-marko-core/utils/default-value"; import buildLinkUrl from '@science-medicine-group/package-common/utils/build-link-url'; $ const { content, ctaLinkStyle, advertiser } = input; +$ const company = (advertiser) ? advertiser : content.company; $ const creativeId = get(input, "mindfulCreativeId"); $ const tenant = get(input, "mindfulTenant"); $ const url = buildLinkUrl(content.siteContext.url); @@ -78,14 +79,16 @@ $ const ctaLinkAttrs = { style: ctaLinkStyles, ...linkAttrs };