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 Defaul link type title and icon for disabled link types #180

Conversation

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

If I set the canCreate() method for any link type to return false, it breaks again. Here's an example where canCreate() returns false for PhoneLink:
image

This PR also introduces a regression for #151
image

@sabina-talipova
Copy link
Contributor Author

If I set the canCreate() method for any link type to return false, it breaks again. Here's an example where canCreate() returns false for PhoneLink,
This PR also introduces a regression for #151

Fixed

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Looks good, works as expected.

@GuySartorelli GuySartorelli merged commit fce5499 into silverstripe:4 Jan 23, 2024
10 checks passed
@GuySartorelli GuySartorelli deleted the pulls/4/fix-icon-no-linktype-2 branch January 23, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants