edit page titles, fix nodeList continuous parameter changes

This commit is contained in:
Christoph Kluge
2025-01-13 14:00:10 +01:00
parent 2c383ebea1
commit 5c2c493c56
2 changed files with 10 additions and 6 deletions

View File

@@ -161,8 +161,8 @@
}
}
$: if (!usePaging && selectedMetrics) {
// Continous Scroll: Reset list and paging if sleectedMetrics change: Existing entries will not match new metric selection
$: if (!usePaging && (selectedMetrics || selectedResolution || hostnameFilter || from || to)) {
// Continous Scroll: Reset list and paging if parameters change: Existing entries will not match new selections
nodes = [];
paging = { itemsPerPage, page: 1 };
}
@@ -202,7 +202,7 @@
</Col>
</Row>
{:else}
{#each nodes as nodeData (nodeData.host)}
{#each nodes as nodeData}
<NodeListRow {nodeData} {cluster} {selectedMetrics}/>
{:else}
<tr>