Only use a default icon so the modal is cacheable

[ci skip]
pull/5829/head
Oliver Günther 7 years ago
parent e08ecfb1b6
commit d5540627e1
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 4
      app/helpers/homescreen_helper.rb

@ -43,9 +43,7 @@ module HomescreenHelper
##
# Returns the user avatar or a default image
def homescreen_user_avatar
avatar = avatar(User.current)
avatar.presence || op_icon('icon-context icon-user')
op_icon('icon-context icon-user')
end
##

Loading…
Cancel
Save