Switched to getValueOrAttribute()

This commit is contained in:
Erik C. Thauvin 2023-03-17 06:53:21 -07:00
parent 625c211b62
commit 4460e98f67
19 changed files with 18 additions and 38 deletions

View file

@ -40,7 +40,7 @@ public class Uncapitalize implements ValueRenderer {
*/
@Override
public String render(Template template, String valueId, String differentiator) {
var value = RenderUtils.fetchValue(template, differentiator);
var value = template.getValueOrAttribute(differentiator);
return value.substring(0, 1).toLowerCase(Localization.getLocale()) + value.substring(1);
}
}