Skip to content

Commit

Permalink
Add placementId to if check on ad/wrapper.marko file
Browse files Browse the repository at this point in the history
  • Loading branch information
jwade1327 committed Mar 9, 2023
1 parent 616879a commit d382ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/components/blocks/ad/wrapper.marko
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ const promotionComponents = {
};
$ const PromotionComponent = promotionComponents[defaultValue(input.promotionComponent, "advertisement-block")];

<if(nativeX.uri)>
<if(nativeX.uri && placementId)>
<native-x-fetch|{ data }| uri=nativeX.uri date=date placement-id=placementId>
<if(data)>
<${PromotionComponent}
Expand Down

0 comments on commit d382ead

Please sign in to comment.