From 2a25c83b18bafcaf5c21581ff085ab611eb514e8 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 24 Sep 2020 02:03:49 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-4-stable-ee --- app/helpers/notifications_helper.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/helpers') 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) -- cgit v1.2.3