mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Address eslint errors
1. Remove apiClient from getRemoteImageHtml function. 2. Delete empty line.
This commit is contained in:
parent
55fac2448c
commit
2dd2e26f9e
2 changed files with 2 additions and 3 deletions
|
@ -79,7 +79,7 @@ import template from './imageDownloader.template.html';
|
|||
let html = '';
|
||||
|
||||
for (let i = 0, length = imagesResult.Images.length; i < length; i++) {
|
||||
html += getRemoteImageHtml(imagesResult.Images[i], imageType, apiClient);
|
||||
html += getRemoteImageHtml(imagesResult.Images[i], imageType);
|
||||
}
|
||||
|
||||
const availableImagesList = page.querySelector('.availableImagesList');
|
||||
|
@ -150,7 +150,7 @@ import template from './imageDownloader.template.html';
|
|||
});
|
||||
}
|
||||
|
||||
function getRemoteImageHtml(image, imageType, apiClient) {
|
||||
function getRemoteImageHtml(image, imageType) {
|
||||
const tagName = layoutManager.tv ? 'button' : 'div';
|
||||
const enableFooterButtons = !layoutManager.tv;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue