diff --git a/app/assets/javascripts/discourse/widgets/header.js.es6 b/app/assets/javascripts/discourse/widgets/header.js.es6 index a61f26d5c..298c6687e 100644 --- a/app/assets/javascripts/discourse/widgets/header.js.es6 +++ b/app/assets/javascripts/discourse/widgets/header.js.es6 @@ -21,11 +21,17 @@ const dropdown = { }; createWidget('header-notifications', { + settings: { + avatarSize: 'medium' + }, + html(attrs) { const { currentUser } = this; - const contents = [ avatarImg('medium', { template: currentUser.get('avatar_template'), - username: currentUser.get('username') }) ]; + const contents = [ avatarImg(this.settings.avatarSize, { + template: currentUser.get('avatar_template'), + username: currentUser.get('username') + }) ]; const unreadNotifications = currentUser.get('unread_notifications'); if (!!unreadNotifications) {