From c7f58ca8703fcdd56c2db74361addb8f16d39b0c Mon Sep 17 00:00:00 2001 From: weibaohui Date: Tue, 24 Nov 2020 23:13:40 +0800 Subject: templates: fix typo of BranchCount (#6370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ᴜɴᴋɴᴡᴏɴ --- internal/context/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/context') 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. -- cgit v1.2.3