diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-24 05:03:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-24 05:03:49 +0300 |
commit | 2a25c83b18bafcaf5c21581ff085ab611eb514e8 (patch) | |
tree | 5ef885758a28be94c22051d388c782a4e60ef83b /app/helpers | |
parent | b0481767fe49d53033d0a1c74b661f971e3cc680 (diff) |
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
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) |