Skip to content

Conversation

@andjsch
Copy link
Contributor

@andjsch andjsch commented Jun 11, 2025

This PR fixes an issue with the svg-icon component not showing the icon if the path contains a dot somewhere.

In my case, the site directory on the staging server is the name of the full domain, which of course, contains a dot. E.g. example.com.

The global helper function data_get() splits strings by . leading the function to not work as expected.

fixes #11864

@andjsch
Copy link
Contributor Author

andjsch commented Jun 11, 2025

Here's the before:
image

and here the after:
image

@jasonvarga jasonvarga merged commit 1c1851f into statamic:5.x Aug 7, 2025
25 checks passed
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.

Custom Set Icons not working

2 participants