mirror of
https://github.com/gogs/gogs.git
synced 2025-12-12 20:35:47 +01:00
templates: fix typo of BranchCount (#6370)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user