Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-24 05:03:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-24 05:03:49 +0300
commit2a25c83b18bafcaf5c21581ff085ab611eb514e8 (patch)
tree5ef885758a28be94c22051d388c782a4e60ef83b /app/helpers
parentb0481767fe49d53033d0a1c74b661f971e3cc680 (diff)
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/notifications_helper.rb5
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)