We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 648c479 commit 73b1d11Copy full SHA for 73b1d11
web_src/js/components/DiffCommitSelector.vue
@@ -195,7 +195,7 @@ export default defineComponent({
195
start = this.commits[firstSelected - 1].id;
196
}
197
const end = this.commits.findLast((x) => x.selected).id;
198
- if (firstSelected === end) {
+ if (start === end) {
199
// if the start and end are the same, we show this single commit
200
window.location.assign(`${this.issueLink}/commits/${start}${this.queryParams}`);
201
} else if (start === this.merge_base && end === this.commits.at(-1).id) {
0 commit comments