Răsfoiți Sursa

don't try to display a log hint link if there isn't one

Brian Gough 10 ani în urmă
părinte
comite
e508f7b8a9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      services/web/app/views/project/editor/pdf.jade

+ 1 - 1
services/web/app/views/project/editor/pdf.jade

@@ -133,7 +133,7 @@ div.full-size.pdf(ng-controller="PdfController")
 						ng-show="entry.humanReadableHint",
 						ng-bind-html="wikiEnabled ? entry.humanReadableHint : stripHTMLFromString(entry.humanReadableHint)")
 					.card-hint-actions.clearfix
-						.card-hint-ext-link(ng-if="wikiEnabled")
+						.card-hint-ext-link(ng-if="wikiEnabled && entry.extraInfoURL")
 							a(
 								ng-href="{{ entry.extraInfoURL }}",
 								ng-click="trackLogHintsLearnMore()"