Skip to content

Commit 5bbe2a1

Browse files
committed
Fix formatting
1 parent 5cfdc20 commit 5bbe2a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/web/user/home.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
619619
}
620620
}
621621
if len(repoIDs) == 1 {
622-
var repo = showReposMap[repoIDs[0]]
622+
repo := showReposMap[repoIDs[0]]
623623
if repo != nil {
624624
ctx.Data["Repo"] = repo.OwnerName + "/" + repo.Name
625625
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{if .Repo}}
22
<a class="ui green button" href="{{AppSubUrl}}/{{.Repo}}/issues/new">{{.locale.Tr "repo.issues.new"}}</a>
3-
{{end}}
3+
{{end}}

0 commit comments

Comments
 (0)