Skip to content

Commit

Permalink
🐛 Fix prepend of telephone
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto authored Aug 13, 2020
1 parent f9cb12e commit 72f7a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Link/Telphone.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ prototype(Carbon.Link:Telephone) < prototype(Neos.Fusion:Value) {
removeSpaces = ${String.pregReplace(value, '/\s/', '')}
removeZerosInBrackets = ${String.replace(value, '(0)', '')}
makeLocalNumberInternational = ${this.defaultCountryCode ? String.pregReplace(value, '/^0([1-9])/', this.defaultCountryCode + '$1') : value}
prependTelProtocol = ${value && props.prepend ? props.prepend + value : value}
prependTelProtocol = ${value && this.prepend ? this.prepend + value : value}
}
}

0 comments on commit 72f7a99

Please sign in to comment.