mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update action sheet
This commit is contained in:
parent
81d936ff1c
commit
62e03ef0be
4 changed files with 125 additions and 104 deletions
|
@ -2577,9 +2577,19 @@
|
|||
|
||||
options.imageType = "thumb";
|
||||
|
||||
var itemId = item.ImageTags && item.ImageTags.Thumb ? item.Id : item.ParentThumbItemId;
|
||||
if (item.ImageTags && item.ImageTags.Thumb) {
|
||||
|
||||
return itemId ? self.getImageUrl(itemId, options) : null;
|
||||
options.tag = item.ImageTags.Thumb;
|
||||
return self.getImageUrl(item.Id, options);
|
||||
}
|
||||
else if (item.ParentThumbItemId) {
|
||||
|
||||
options.tag = item.ImageTags.ParentThumbImageTag;
|
||||
return self.getImageUrl(item.ParentThumbItemId, options);
|
||||
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue