diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-12-06 09:13:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 01:13:59 +0000 |
commit | 09d50284422aa70af47c77e20b65b9f5c5e32c13 (patch) | |
tree | aa4d82170296db77ed26eefbd4fdeca34f5add2d /templates/repo/actions/list.tmpl | |
parent | c81255ba4e6c6396e02d00513ebe402b15c4346b (diff) | |
download | gitea-09d50284422aa70af47c77e20b65b9f5c5e32c13.tar.gz gitea-09d50284422aa70af47c77e20b65b9f5c5e32c13.zip |
Fix the runs will not be displayed bug when the main branch have no workflows but other branches have (#28359)
Diffstat (limited to 'templates/repo/actions/list.tmpl')
-rw-r--r-- | templates/repo/actions/list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/actions/list.tmpl b/templates/repo/actions/list.tmpl index ede4c82602..62d30305b3 100644 --- a/templates/repo/actions/list.tmpl +++ b/templates/repo/actions/list.tmpl @@ -4,7 +4,7 @@ <div class="ui container"> {{template "base/alert" .}} - {{if .workflows}} + {{if .HasWorkflowsOrRuns}} <div class="ui stackable grid"> <div class="four wide column"> <div class="ui fluid vertical menu"> |