i think this is not always truthy, eslint

This commit is contained in:
burnettk 2022-11-13 18:41:03 -05:00
parent 498c0b41ba
commit b4a2b204e6
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,7 @@ export default function ProcessGroupShow() {
</Stack>
<br />
<br />
{/* eslint-disable-next-line sonarjs/no-gratuitous-expressions */}
{modelPagination && modelPagination.total > 0 && (
<PaginationForTable
page={page}
@ -174,6 +175,7 @@ export default function ProcessGroupShow() {
)}
<br />
<br />
{/* eslint-disable-next-line sonarjs/no-gratuitous-expressions */}
{groupPagination && groupPagination.total > 0 && (
<PaginationForTable
page={page}