mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
FIX: Incorrect user menu title/alt (#27019)
This commit is contained in:
@ -18,12 +18,11 @@ export default class Notifications extends Component {
|
||||
avatarSize = "medium";
|
||||
|
||||
get avatar() {
|
||||
let avatarAttrs = {};
|
||||
addExtraUserClasses(this.currentUser, avatarAttrs);
|
||||
const avatarAttrs = addExtraUserClasses(this.currentUser, {});
|
||||
return htmlSafe(
|
||||
renderAvatar(this.currentUser, {
|
||||
imageSize: this.avatarSize,
|
||||
alt: "user.avatar.header_title",
|
||||
title: i18n("user.avatar.header_title"),
|
||||
template: this.currentUser.avatar_template,
|
||||
username: this.currentUser.username,
|
||||
name: this.siteSettings.enable_names && this.currentUser.name,
|
||||
|
Reference in New Issue
Block a user