Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the value of the diffEnd when click Show More btn in the DiffFileTree #24069

Merged
2 changes: 2 additions & 0 deletions web_src/js/components/DiffFileTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ export default {
this.isLoadingNewData = true;
doLoadMoreFiles(this.link, this.diffEnd, () => {
this.isLoadingNewData = false;
const {diffEnd} = window.config.pageData.diffFileInfo
this.diffEnd = diffEnd;
});
},
},
Expand Down