Skip to content

Commit f9e5d98

Browse files
authored
1 parent f2cc4da commit f9e5d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/branch/list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<button class="btn interact-bg gt-p-3 show-modal show-rename-branch-modal"
5757
data-is-default-branch="true"
5858
data-modal="#rename-branch-modal"
59-
data-old-branch-name="{{$.DefaultBranchBranch}}"
59+
data-old-branch-name="{{$.DefaultBranchBranch.DBBranch.Name}}"
6060
data-tooltip-content="{{$.locale.Tr "repo.branch.rename" ($.DefaultBranchBranch.DBBranch.Name)}}"
6161
>
6262
{{svg "octicon-pencil"}}

0 commit comments

Comments
 (0)