diff options
author | Giteabot <teabot@gitea.io> | 2023-04-12 15:27:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 15:27:53 -0400 |
commit | 607801ec41bcb85bc24dbdf31ad37a04735dce27 (patch) | |
tree | ccc8ee59ebcf0ef0046f5fb1fa3dcfc1a47f94d9 /web_src/js/features/repo-wiki.js | |
parent | 16d2cf05ab691adb839e2d979a25285764111f7e (diff) | |
download | gitea-607801ec41bcb85bc24dbdf31ad37a04735dce27.tar.gz gitea-607801ec41bcb85bc24dbdf31ad37a04735dce27.zip |
Update the value of the `diffEnd` when click `Show More` btn in the DiffFileTree (#24069) (#24078)
Backport #24069 by @sillyguodong
In the component `DiffFileTree`,if don't update the value of the
`diffEnd` in the callback of ajax request, click `Show More` btn will
always return the same response, duplicate files are appended to the
file list.
Before:
https://user-images.githubusercontent.com/33891828/231371188-82d169af-10bb-47e2-8aca-83ced2597f2d.mov
After:
https://user-images.githubusercontent.com/33891828/231369805-39a5a4d0-662c-4f08-bc5a-7d31e8782453.mov
Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
Diffstat (limited to 'web_src/js/features/repo-wiki.js')
0 files changed, 0 insertions, 0 deletions