Skip to content

Commit

Permalink
templates/settings/club: Use "readonly" helper
Browse files Browse the repository at this point in the history
This makes sure we don't try to set "account.club.id" when "account.club" isn't set.
  • Loading branch information
Turbo87 committed Oct 27, 2016
1 parent 456d5af commit 2fc7aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember/app/templates/settings/club.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#settings-page title=(t "change-club")}}
{{settings-panels/choose-club clubs=model.clubs clubId=account.club.id}}
{{settings-panels/choose-club clubs=model.clubs clubId=(readonly account.club.id)}}
{{settings-panels/register-club}}
{{/settings-page}}

0 comments on commit 2fc7aa5

Please sign in to comment.