renderodelist spinner info only for continuous scroll

This commit is contained in:
Christoph Kluge 2025-02-04 18:41:10 +01:00
parent 9f56213d2f
commit 6c244f3121

View File

@ -217,13 +217,15 @@
<tr> <tr>
<td colspan={selectedMetrics.length + 1}> <td colspan={selectedMetrics.length + 1}>
<div style="text-align:center;"> <div style="text-align:center;">
{#if !usePaging}
<p><b> <p><b>
Loading nodes {nodes.length + 1} to Loading nodes {nodes.length + 1} to
{ matchedNodes { matchedNodes
? `${(nodes.length + paging.itemsPerPage) > matchedNodes ? matchedNodes : (nodes.length + paging.itemsPerPage)} of ${matchedNodes} total` ? `${((nodes.length + paging.itemsPerPage) > matchedNodes) ? matchedNodes : (nodes.length + paging.itemsPerPage)} of ${matchedNodes} total`
: (nodes.length + paging.itemsPerPage) : (nodes.length + paging.itemsPerPage)
} }
</b></p> </b></p>
{/if}
<Spinner secondary /> <Spinner secondary />
</div> </div>
</td> </td>