We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bb101 commit d58096eCopy full SHA for d58096e
templates/repo/branch/list.tmpl
@@ -33,7 +33,7 @@
33
{{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
34
<button class="btn interact-bg show-create-branch-modal gt-p-3"
35
data-modal="#create-branch-modal"
36
- data-branch-from="{{$.DefaultBranchBranch}}"
+ data-branch-from="{{$.DefaultBranchBranch.DBBranch.Name}}"
37
data-branch-from-urlcomponent="{{PathEscapeSegments $.DefaultBranchBranch.DBBranch.Name}}"
38
data-tooltip-content="{{$.locale.Tr "repo.branch.new_branch_from" ($.DefaultBranchBranch.DBBranch.Name)}}"
39
>
0 commit comments