diff --git a/README.md b/README.md index be23742..85965d6 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,6 @@ prototype(Vendor.Site:Component.SvgIcon) < prototype(Neos.Fusion:Component) { renderer = Sitegeist.Stampede:Icon { identifier = ${props.identifier} - icon = ${props.icon} class = "svgIcon" style = null } diff --git a/Resources/Private/Fusion/Icon.fusion b/Resources/Private/Fusion/Icon.fusion index 60cee10..c77aa43 100644 --- a/Resources/Private/Fusion/Icon.fusion +++ b/Resources/Private/Fusion/Icon.fusion @@ -10,7 +10,7 @@ prototype(Sitegeist.Stampede:Icon) < prototype(Neos.Fusion:Component) { viewBox= '0 0 512 512' @private { - collectionAndIcon = ${props.identifier ? String.split(props.identifier, ':', 2)[0] : [props.collection, props.icon]} + collectionAndIcon = ${props.identifier ? String.split(props.identifier, ':', 2) : [props.collection, props.icon]} } renderer = Neos.Fusion:Case {