Skip to content

Commit d58096e

Browse files
authored
1 parent f8bb101 commit d58096e

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
@@ -33,7 +33,7 @@
3333
{{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
3434
<button class="btn interact-bg show-create-branch-modal gt-p-3"
3535
data-modal="#create-branch-modal"
36-
data-branch-from="{{$.DefaultBranchBranch}}"
36+
data-branch-from="{{$.DefaultBranchBranch.DBBranch.Name}}"
3737
data-branch-from-urlcomponent="{{PathEscapeSegments $.DefaultBranchBranch.DBBranch.Name}}"
3838
data-tooltip-content="{{$.locale.Tr "repo.branch.new_branch_from" ($.DefaultBranchBranch.DBBranch.Name)}}"
3939
>

0 commit comments

Comments
 (0)