mirror of
1
Fork 0
forgejo/web_src
Giteabot 607801ec41
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>
2023-04-12 15:27:53 -04:00
..
css Show errors for KaTeX and mermaid on the preview tab (#24009) (#24019) 2023-04-09 08:48:28 -04:00
fomantic Fix Fomantic UI's `touchstart` fastclick, always use `click` for click events (#23065) (#23195) 2023-02-28 17:53:45 -05:00
js Update the value of the `diffEnd` when click `Show More` btn in the DiffFileTree (#24069) (#24078) 2023-04-12 15:27:53 -04:00
less Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
svg Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00