diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/notifications_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 784b242e2b5..542a9ad2a70 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -29,7 +29,10 @@ module NotificationsHelper end def notification_icon(level) - sprite_icon("#{notification_icon_class(level)}") + icon = notification_icon_class(level) + return '' unless icon + + sprite_icon(icon) end def notification_title(level) |