Add option to season image downloader to pick from series images
This commit is contained in:
parent
9d3a12237a
commit
d9ebdc05bb
4 changed files with 38 additions and 12 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue