Merge pull request #65 from cvium/fix_profile_page_image

Fix profile image not being shown on profile page
This commit is contained in:
Vasily 2019-01-24 15:40:10 +03:00 committed by GitHub
commit 41141a9e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"