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:
Beowulf 2025-04-19 07:00:50 +00:00 committed by 0ko
parent 3f673ce4d4
commit 9a4ded7d80
2 changed files with 4 additions and 2 deletions

View file

@ -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;