Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [amp story shopping] shopping CTA label fix #37502

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

processprocess
Copy link
Contributor

Building the attachment was refactored as part of #37278 to be a separate component and introduced a regression which was not caught since Percy diffs were broken at the time of submitting the PR. this.element is now a reference to amp-story-page-outlink or amp-story-page-attachment and never amp-story-shopping-attachment.

This PR checks the parent element to see if it's an amp-story-shopping-attachment to create the appropriate label.

@amp-owners-bot
Copy link

Hey @gmajoulet, @newmuis, @mszylkowski! These files were changed:

extensions/amp-story-page-attachment/0.1/amp-story-open-page-attachment.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants