summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/triggers/_trigger.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/triggers/_trigger.html.haml b/app/views/projects/triggers/_trigger.html.haml
index 71fb37928fe..ca4549fc557 100644
--- a/app/views/projects/triggers/_trigger.html.haml
+++ b/app/views/projects/triggers/_trigger.html.haml
@@ -30,7 +30,7 @@
Never
%td
- - if trigger.trigger_schedule.present? && trigger.trigger_schedule.active?
+ - if trigger.trigger_schedule&.active?
= trigger.trigger_schedule.real_next_run
- else
None