Quellcode durchsuchen

Fix template nil error

Unknwon vor 8 Jahren
Ursprung
Commit
7e7613cdec
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      templates/user/dashboard/issues.tmpl

+ 1 - 1
templates/user/dashboard/issues.tmpl

@@ -62,7 +62,7 @@
 						{{ $timeStr:= TimeSince .Created $.Lang }}
 						<li class="item">
 							<div class="ui label">{{if not $.RepoID}}{{.Repo.Name}}{{end}}#{{.Index}}</div>
-							<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Name}}</a>
+							<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
 
 							{{if .NumComments}}
 								<span class="comment ui right"><i class="octicon octicon-comment"></i> {{.NumComments}}</span>