summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-04-17 18:52:15 +0200
committerAlex Legler <alex@a3li.li>2014-04-17 18:52:15 +0200
commit9816353aa5ef74b8475a28970cf2700750e4a1f3 (patch)
treea809ad3e65c62251b292b57392d5aa05ecf6c29b /lib
parentRevert "Right-align ETA in desktop browsers." (diff)
downloadinfra-status-9816353aa5ef74b8475a28970cf2700750e4a1f3.tar.gz
infra-status-9816353aa5ef74b8475a28970cf2700750e4a1f3.tar.bz2
infra-status-9816353aa5ef74b8475a28970cf2700750e4a1f3.zip
Make only active notices apply overrides
Diffstat (limited to 'lib')
-rw-r--r--lib/helpers.rb2
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)