Fix profile image not being shown on profile page

This commit is contained in:
Claus Vium 2019-01-24 07:39:22 +01:00
parent 2203f5d4ce
commit f715ac7ca2

View File

@ -12,7 +12,7 @@ define(["scripts/userpasswordpage", "loading", "libraryMenu", "apphost", "emby-l
libraryMenu.setTitle(user.Name);
var imageUrl = "css/images/logindefault.png";
if (user.PrimaryImageTag) {
ApiClient.getUserImageUrl(user.Id, {
imageUrl = ApiClient.getUserImageUrl(user.Id, {
height: 200,
tag: user.PrimaryImageTag,
type: "Primary"