diff options
author | weibaohui <weibaohui@yeah.net> | 2020-11-24 23:13:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 23:13:40 +0800 |
commit | c7f58ca8703fcdd56c2db74361addb8f16d39b0c (patch) | |
tree | bd89bb3152688762dc4e1e2418250a6a34d948f6 /internal/context | |
parent | b34d040c784b9a2eabfb192d1432b3f98c0eef02 (diff) |
templates: fix typo of BranchCount (#6370)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'internal/context')
-rw-r--r-- | internal/context/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/repo.go b/internal/context/repo.go index b280a37e..7c70f0c1 100644 --- a/internal/context/repo.go +++ b/internal/context/repo.go @@ -280,7 +280,7 @@ func RepoAssignment(pages ...bool) macaron.Handler { return } c.Data["Branches"] = branches - c.Data["BrancheCount"] = len(branches) + c.Data["BranchCount"] = len(branches) // If not branch selected, try default one. // If default branch doesn't exists, fall back to some other branch. |