mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Fix profile image not being shown on profile page
This commit is contained in:
parent
2203f5d4ce
commit
f715ac7ca2
@ -12,7 +12,7 @@ define(["scripts/userpasswordpage", "loading", "libraryMenu", "apphost", "emby-l
|
|||||||
libraryMenu.setTitle(user.Name);
|
libraryMenu.setTitle(user.Name);
|
||||||
var imageUrl = "css/images/logindefault.png";
|
var imageUrl = "css/images/logindefault.png";
|
||||||
if (user.PrimaryImageTag) {
|
if (user.PrimaryImageTag) {
|
||||||
ApiClient.getUserImageUrl(user.Id, {
|
imageUrl = ApiClient.getUserImageUrl(user.Id, {
|
||||||
height: 200,
|
height: 200,
|
||||||
tag: user.PrimaryImageTag,
|
tag: user.PrimaryImageTag,
|
||||||
type: "Primary"
|
type: "Primary"
|
||||||
|
Loading…
Reference in New Issue
Block a user