Skip to content

Commit 1c3f889

Browse files
talltorpMinThaMie
authored andcommitted
Use avatarInitial instead of avatarTitle in diff
The diff mentioned that the old initial was the @avatarTitle which confused me for a while. I changed it to @avatarInitial which I assume is what's intended
1 parent e9e7047 commit 1c3f889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/release/components/helper-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ We can then use this helper in the component's template to get the first letter
8383
```handlebars {data-filename="app/components/message.hbs" data-diff="-3,+4"}
8484
<Message::Avatar
8585
@title="{{@username}}'s avatar"
86-
@initial={{@avatarTitle}}
86+
@initial={{@avatarInitial}}
8787
@initial={{this.substring @username 0 1}}
8888
@isActive={{@userIsActive}}
8989
class={{if @isCurrentUser "current-user"}}

0 commit comments

Comments
 (0)