Fix avatar in static pages
This commit is contained in:
parent
e8f3df5a46
commit
97d8d86395
1 changed files with 1 additions and 1 deletions
|
@ -1676,7 +1676,7 @@ define([
|
|||
|
||||
if (account) {
|
||||
var $avatar = $userAdmin.find('.buttonTitle');
|
||||
var url = getStore() ? getStore().getProfile().avatar : undefined;
|
||||
var url = store ? store.getProfile().avatar : undefined;
|
||||
$avatar.html('');
|
||||
common.displayAvatar($avatar, url, accountName, function ($img) {
|
||||
if ($img) {
|
||||
|
|
Loading…
Reference in a new issue