Skip to content

Commit 7c76ee8

Browse files
committed
hotfix for blank page
1 parent ca63e0b commit 7c76ee8

File tree

1 file changed

+1
-1
lines changed
  • app/templates/project-version/classes

1 file changed

+1
-1
lines changed

app/templates/project-version/classes/class.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{! template-lint-disable no-action }}
22
<article class="chapter">
3-
{{#if (is-latest version=@model.projectVersion.version allVersions=this.allVersions)}}
3+
{{#if (and @model.project.id @model.file @model.line (is-latest version=@model.projectVersion.version allVersions=this.allVersions))}}
44
<a data-tooltip="Edit on Github" class="heading__link__edit" href="{{github-link @model.project.id @model.projectVersion.version @model.file @model.line isEdit=true}}" target="_blank" rel="noopener noreferrer">{{svg-jar "fa-pencil"}}</a>
55
{{/if}}
66
<h1 class="module-name">Class {{@model.name}}</h1>

0 commit comments

Comments
 (0)