Address eslint errors

1. Remove apiClient from getRemoteImageHtml function.
2. Delete empty line.
This commit is contained in:
Joshua M. Boniface 2021-05-02 01:27:41 -04:00
parent 55fac2448c
commit 2dd2e26f9e
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -171,7 +171,6 @@ import template from './itemidentifier.template.html';
let resultHtml = lines.join('<br/>');
if (identifyResult.ImageUrl) {
resultHtml = `<div style="display:flex;align-items:center;"><img src="${identifyResult.ImageUrl}" style="max-height:240px;" /><div style="margin-left:1em;">${resultHtml}</div>`;
}