diff options
author | Alex Legler <alex@a3li.li> | 2014-04-17 18:52:15 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2014-04-17 18:52:15 +0200 |
commit | 9816353aa5ef74b8475a28970cf2700750e4a1f3 (patch) | |
tree | a809ad3e65c62251b292b57392d5aa05ecf6c29b | |
parent | Revert "Right-align ETA in desktop browsers." (diff) | |
download | infra-status-9816353aa5ef74b8475a28970cf2700750e4a1f3.tar.gz infra-status-9816353aa5ef74b8475a28970cf2700750e4a1f3.tar.bz2 infra-status-9816353aa5ef74b8475a28970cf2700750e4a1f3.zip |
Make only active notices apply overrides
-rw-r--r-- | lib/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.rb b/lib/helpers.rb index ec65b37..2b737e9 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -20,7 +20,7 @@ helpers do def service_info(service) content = '' - active_notices = NoticeStore.instance.visible_notices_for(service) + active_notices = NoticeStore.instance.active_notices_for(service) unless (forced_state = get_forced_state(active_notices)) == nil content << status_icon(forced_state) |