Fix JS NPEs

This commit is contained in:
Joseph Schorr 2015-05-04 09:17:58 -07:00
parent 7ec0ad45fc
commit 70cc895b95
4 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<span class="commit-circle"></span>
</span>
<span class="anchor" href="{{ getUrl(commitSha, urlTemplate) }}" target="_blank"
is-only-text="!urlTemplate">
is-only-text="!urlTemplate || !getUrl(commitSha, urlTemplate)">
{{ commitSha.substring(0, 8) }}
</span>
</span>