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
11 changed files with 41 additions and 14 deletions
+3 -1
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>';