Skip to content

Commit 4ddc5d8

Browse files
committed
fix: update reference to language property in template
Update the reference to the `language` property in the `start-track-button.hbs` template to use the correct context variable. This change ensures that the button displays correctly based on the user's authentication status and the presence of a primer concept group.
1 parent 67ad6a3 commit 4ddc5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/track-page/start-track-button.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<PrimaryButton class="mr-2 flex items-center" data-test-primary-start-track-button {{on "click" this.handleClicked}} @size="large" ...attributes>
22
{{! If there's no primer concept group, the user will need to login to start the track }}
3-
{{#if (and this.authenticator.isAnonymous (not this.args.language.primerConceptGroup))}}
3+
{{#if (and this.authenticator.isAnonymous (not @language.primerConceptGroup))}}
44
{{svg-jar "github" class="fill-current w-5 transform transition-all mr-2"}}
55
{{/if}}
66

0 commit comments

Comments
 (0)