diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-07 17:20:00 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-07 17:20:00 +0300 |
commit | 344001d7384ec227fdf18cc87b62981f18c7c580 (patch) | |
tree | 3cc5ee27697f4280ddf842149806b98280dfb8ca /app/views | |
parent | 7461072f36d88254b2bc5d696061c7c0f5b8fe86 (diff) |
Simplify if
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/triggers/_trigger.html.haml | 2 |
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 |