Add option to season image downloader to pick from series images

This commit is contained in:
SenorSmartyPants 2022-02-15 23:54:44 -06:00
parent 9d3a12237a
commit d9ebdc05bb
4 changed files with 38 additions and 12 deletions

View file

@ -280,7 +280,13 @@ import template from './imageeditor.template.html';
function showImageDownloader(page, imageType) {
import('../imageDownloader/imageDownloader').then((ImageDownloader) => {
ImageDownloader.show(currentItem.Id, currentItem.ServerId, currentItem.Type, imageType).then(function () {
ImageDownloader.show(
currentItem.Id,
currentItem.ServerId,
currentItem.Type,
imageType,
currentItem.Type == 'Season' ? currentItem.ParentId : null
).then(function () {
hasChanges = true;
reload(page);
});