diff options
Diffstat (limited to 'views/_alerts_table_alert_summary.haml')
-rw-r--r-- | views/_alerts_table_alert_summary.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/_alerts_table_alert_summary.haml b/views/_alerts_table_alert_summary.haml index 24162c6..f27ceeb 100644 --- a/views/_alerts_table_alert_summary.haml +++ b/views/_alerts_table_alert_summary.haml @@ -11,4 +11,4 @@ :href => "/alert/#{alert.id}", | :onclick => "fetchDetail('#{alert.id}'); return false;"} Details ↓ - %td= alert.raised_at.to_s_relative + %td= (alert.raised_at || alert.cleared_at || Time.now).to_s_relative |