0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-15 05:06:48 +01:00
gitea/web_src/js/features
a1012112796 c4b2808b89
make show stats work when only one file changed (#32244)
fix https://github.com/go-gitea/gitea/issues/32226

in https://github.com/go-gitea/gitea/pull/27775 , it do some changes to
only show diff file tree when more than one file changed. But looks it
also break the `diff-file-list` logic, which looks not expected change.
so try fix it.

/cc @silverwind 

example view:

![image](https://github.com/user-attachments/assets/281e9c4f-a269-4d36-94eb-a132058aea87)

Signed-off-by: a1012112796 <1012112796@qq.com>
2024-10-14 21:23:20 +00:00
..
admin
comp
autofocus-end.ts
captcha.ts
citation.ts
clipboard.ts
code-frequency.ts
codeeditor.ts
colorpicker.ts
common-button.ts
common-fetch-action.ts
common-form.ts
common-issue-list.test.ts
common-issue-list.ts
common-organization.ts
common-page.ts
contextpopup.ts
contributors.ts
copycontent.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
dropzone.ts
emoji.ts
eventsource.sharedworker.ts
file-fold.ts
heatmap.ts
imagediff.ts
install.ts
notification.ts
oauth2-settings.ts
org-team.ts
pull-view-file.ts
recent-commits.ts
repo-branch.ts
repo-code.test.ts
repo-code.ts
repo-commit.ts
repo-common.ts
repo-diff-commit.ts
repo-diff-commitselect.ts
repo-diff-filetree.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-diff.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-editor.ts
repo-findfile.test.ts
repo-findfile.ts
repo-graph.ts
repo-home.ts
repo-issue-content.ts
repo-issue-edit.ts
repo-issue-list.ts
repo-issue-pr-form.ts
repo-issue-pr-status.ts
repo-issue.ts
repo-legacy.ts
repo-migrate.ts
repo-migration.ts
repo-projects.ts
repo-release.ts
repo-search.ts
repo-settings.ts
repo-template.ts
repo-unicode-escape.ts
repo-wiki.ts
scoped-access-token.ts
sshkey-helper.ts
stopwatch.ts
tablesort.ts
tribute.ts
user-auth-webauthn.ts
user-auth.ts
user-settings.ts