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

DS-697 Prevent Listing teaser from outputting empty div #2418

Conversation

MarcinMr
Copy link
Collaborator

Jira

https://pegadigitalit.atlassian.net/browse/DS-697

Summary

The if conditional was added to prevent rendering empty div - c-bolt-listing-teaser__flag-content

Details

c-bolt-listing-teaser__flag-content is rendered if one of the following properties is added:

  • meta_items
  • description
  • warning
  • chip_list
  • reply

How to test

Check if div with the class c-bolt-listing-teaser__flag-content is rendered only when one or more properties are added

@github-actions github-actions bot added the type: feature List this PR in the 'Features' section of the release notes. label Jan 19, 2022
@colbytcook colbytcook requested a deployment to feature/DS-692-animation-tool-set--a1276d2a--commit-preview January 19, 2022 12:36 In progress
@MarcinMr
Copy link
Collaborator Author

@danielamorse template updated

Copy link
Collaborator

@danielamorse danielamorse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, works perfectly.

@danielamorse danielamorse merged commit 5568354 into master Jan 24, 2022
@danielamorse danielamorse deleted the feature/DS-697-Prevent-Listing-teaser-from-outputting-empty-div branch January 24, 2022 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature List this PR in the 'Features' section of the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants