diff options
author | yp05327 <576951401@qq.com> | 2023-05-03 04:58:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 21:58:18 +0200 |
commit | bcdd3c30afb69eac6ba5edd7eeeb81ec3d3ba74f (patch) | |
tree | a82696093bc5f1b69d6b68cfc9a9dc4ba67b7c5e /.eslintrc.yaml | |
parent | bf999e406994ab34420fb62e0de7948c8c2116c1 (diff) | |
download | gitea-bcdd3c30afb69eac6ba5edd7eeeb81ec3d3ba74f.tar.gz gitea-bcdd3c30afb69eac6ba5edd7eeeb81ec3d3ba74f.zip |
Fix test delivery button in repo webhook settings page (#24478)
Caused by
https://github.com/go-gitea/gitea/pull/24246/files#diff-2bfe41d93dbb409583a4f945902e46bb513f60f1c9301649c1689200c4f1466eR1
Class `new` was removed in #24246, but in function
`initCompWebHookEditor`, it will check `.new.webhook`.
So in repo webhook settings page, `initCompWebHookEditor` will init
nothing, and no response after click the test delivery button.
https://github.com/go-gitea/gitea/blob/da65b7ad47e8d0d82f47cb24ee9ac2a0ec50dc25/web_src/js/features/comp/WebHookEditor.js#L6-L9
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to '.eslintrc.yaml')
0 files changed, 0 insertions, 0 deletions