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

Fix button logic for when noIcon param is set to false #3418

Merged
merged 5 commits into from
Nov 12, 2024

Conversation

rmccar
Copy link
Contributor

@rmccar rmccar commented Nov 8, 2024

What is the context of this PR?

Fixes: #3417

Fixes the logic around the noIcon param so that it does show the arrow icon on link buttons when noIcon is set to false.

How to review this PR

Test using the button component with url set and noIcon set to true and false, and without being set at all and see that the arrow icon is displayed for when it is set to false or not set and not displayed when it is set to true

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@rmccar rmccar added the Bug Something isn't working label Nov 8, 2024
@rmccar rmccar self-assigned this Nov 8, 2024
Copy link

netlify bot commented Nov 8, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit dd39292
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/673320f895c3130008a88dfa
😎 Deploy Preview https://deploy-preview-3418--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rmccar rmccar merged commit 1300be4 into main Nov 12, 2024
25 checks passed
@rmccar rmccar deleted the fix-button-noicon-param-set-to-false branch November 12, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Button noIcon option not working as expected when set to false
3 participants