1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3609 from sancodes/eslint-no-sequences

Eslint no sequences
This commit is contained in:
Bill Thornton 2022-06-09 12:24:52 -04:00 committed by GitHub
commit 79db34a2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 41 additions and 14 deletions

View file

@ -86,7 +86,9 @@ export function getQueryPagingHtml (options) {
const recordsEnd = Math.min(startIndex + limit, totalRecordCount);
const showControls = limit < totalRecordCount;
if (html += '<div class="listPaging">', showControls) {
html += '<div class="listPaging">';
if (showControls) {
html += '<span style="vertical-align:middle;">';
html += globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0), recordsEnd, totalRecordCount);
html += '</span>';