diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/account/app.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/account/app.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/app.js b/server/sonar-web/src/main/js/apps/account/app.js index 5ec13d8a18e..e512ec18f5c 100644 --- a/server/sonar-web/src/main/js/apps/account/app.js +++ b/server/sonar-web/src/main/js/apps/account/app.js @@ -1,7 +1,6 @@ import $ from 'jquery'; -import Handlebars from 'hbsfy/runtime'; import ChangePasswordView from './change-password-view'; -import '../../helpers/handlebars-helpers'; +import avatarHelper from '../../helpers/handlebars/avatarHelper'; var shouldShowAvatars = window.SS && window.SS.lf && window.SS.lf.enableGravatar; var favorites = $('.js-account-favorites tr'); @@ -15,7 +14,7 @@ class App { $('html').addClass('dashboard-page'); if (shouldShowAvatars) { - var avatarHtml = Handlebars.helpers.avatarHelper(window.SS.userEmail, 100).string; + var avatarHtml = avatarHelper(window.SS.userEmail, 100).string; $('.js-avatar').html(avatarHtml); } |