summaryrefslogtreecommitdiffstats
path: root/templates/repo/actions/runs_list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/actions/runs_list.tmpl')
-rw-r--r--templates/repo/actions/runs_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl
index 3b289fb68f..580fb08a9e 100644
--- a/templates/repo/actions/runs_list.tmpl
+++ b/templates/repo/actions/runs_list.tmpl
@@ -1,5 +1,5 @@
<div class="flex-list">
- {{if eq (len .Runs) 0}}
+ {{if not .Runs}}
<div class="empty-placeholder">
{{svg "octicon-no-entry" 48}}
<h2>{{if $.IsFiltered}}{{ctx.Locale.Tr "actions.runs.no_results"}}{{else}}{{ctx.Locale.Tr "actions.runs.no_runs"}}{{end}}</h2>