Skip to content

Commit cd97fbc

Browse files
committed
Fix a template linting error after upgrading ember-math-helpers
1 parent 9212320 commit cd97fbc

File tree

1 file changed

+1
-1
lines changed
  • app/components/course-page/course-stage-step/community-solution-card

1 file changed

+1
-1
lines changed

app/components/course-page/course-stage-step/community-solution-card/content.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@highlightedFile={{highlightedFile}}
1818
@onPublishToGithubButtonClick={{this.handlePublishToGithubButtonClick}}
1919
@solution={{@solution}}
20-
class={{if (not-eq index (sub @solution.highlightedFiles.length 1)) "mb-4"}}
20+
class={{if (not-eq index (sub (or @solution.highlightedFiles.length 0) 1)) "mb-4"}}
2121
/>
2222
{{/each}}
2323
{{else}}

0 commit comments

Comments
 (0)