Fix avatar in static pages

This commit is contained in:
yflory 2017-07-10 12:03:44 +02:00
parent e8f3df5a46
commit 97d8d86395

View file

@ -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) {