Skip to content

Commit b22b81a

Browse files
authored
Merge pull request #1915 from talltorp/patch-1
Use avatarInitial instead of avatarTitle in diff
2 parents e9e7047 + cbba151 commit b22b81a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/release/components/helper-functions.md

Lines changed: 2 additions & 2 deletions
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"}}
@@ -197,7 +197,7 @@ We can then use this helper in the component's template to get the first letter
197197
```handlebars {data-filename="app/components/message.hbs" data-diff="-3,+4"}
198198
<Message::Avatar
199199
@title="{{@username}}'s avatar"
200-
@initial={{@avatarTitle}}
200+
@initial={{@avatarInitial}}
201201
@initial={{substring @username 0 1}}
202202
@isActive={{@userIsActive}}
203203
class={{if @isCurrentUser "current-user"}}

0 commit comments

Comments
 (0)