]> source.dussan.org Git - gitea.git/commit
Disable download action logs button when there's no logs (#26114)
authoryp05327 <576951401@qq.com>
Wed, 26 Jul 2023 18:51:26 +0000 (03:51 +0900)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2023 18:51:26 +0000 (20:51 +0200)
commit36732005b413a774a4ee231e5c8ea2839a71485b
tree9820657e4c0ee4d64819b39f4fdd15aaa1327576
parent79995a8194235ee994a1ce3cbe5eaa11358db885
Disable download action logs button when there's no logs (#26114)

If there's no logs, you can also click the download button, then you
will get `job is not started` page

![image](https://github.com/go-gitea/gitea/assets/18380374/c0dad309-1fb9-4505-99da-bf0038423744)
https://gitea.com/yp05327/testrepo/actions/runs/38

After:
If there's no steps displayed, the download button will be disabled.

![image](https://github.com/go-gitea/gitea/assets/18380374/5f51ba70-3d0b-46d8-ad77-f02c4c8fa52c)
web_src/js/components/RepoActionView.vue