mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-28 06:48:46 +00:00
Fix bug
This commit is contained in:
parent
648c479159
commit
73b1d11a04
@ -195,7 +195,7 @@ export default defineComponent({
|
||||
start = this.commits[firstSelected - 1].id;
|
||||
}
|
||||
const end = this.commits.findLast((x) => x.selected).id;
|
||||
if (firstSelected === end) {
|
||||
if (start === end) {
|
||||
// if the start and end are the same, we show this single commit
|
||||
window.location.assign(`${this.issueLink}/commits/${start}${this.queryParams}`);
|
||||
} else if (start === this.merge_base && end === this.commits.at(-1).id) {
|
||||
|
Loading…
Reference in New Issue
Block a user