mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-06-19 05:00:02 +02:00
fix(ui): use correct branch name in branch tag selector (#7575)
Regression from: https://codeberg.org/forgejo/forgejo/pulls/7571 Needed for: https://codeberg.org/forgejo/forgejo/pulls/7574 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7575 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Beowulf <beowulf@beocode.eu> Co-committed-by: Beowulf <beowulf@beocode.eu>
This commit is contained in:
parent
158cca5dd0
commit
d356ee2a0a
2 changed files with 4 additions and 2 deletions
|
@ -56,7 +56,7 @@ const sfc = {
|
|||
this.refNameText = this.commitIdShort;
|
||||
} else if (this.viewType === 'branch') {
|
||||
this.isViewBranch = true;
|
||||
this.refNameText = this.viewType;
|
||||
this.refNameText = this.branchName;
|
||||
} else {
|
||||
this.isViewTag = true;
|
||||
this.refNameText = this.tagName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue