mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-02-04 15:25:17 +01:00
fix rerender by keys, disable resolution select if no resampling active
This commit is contained in:
parent
735988decb
commit
c21da6512a
@ -93,7 +93,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- ROW1: Tools-->
|
<!-- ROW1: Tools-->
|
||||||
<Row cols={{ xs: 2, lg: !displayNodeOverview ? 5 : 4 }} class="mb-3">
|
<Row cols={{ xs: 2, lg: !displayNodeOverview ? (resampleConfig ? 5 : 4) : 4 }} class="mb-3">
|
||||||
{#if $initq.data}
|
{#if $initq.data}
|
||||||
<!-- List Metric Select Col-->
|
<!-- List Metric Select Col-->
|
||||||
{#if !displayNodeOverview}
|
{#if !displayNodeOverview}
|
||||||
@ -110,6 +110,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
</Col>
|
</Col>
|
||||||
|
{#if resampleConfig}
|
||||||
<Col>
|
<Col>
|
||||||
<InputGroup>
|
<InputGroup>
|
||||||
<InputGroupText><Icon name="plus-slash-minus" /></InputGroupText>
|
<InputGroupText><Icon name="plus-slash-minus" /></InputGroupText>
|
||||||
@ -124,6 +125,7 @@
|
|||||||
</InputGroup>
|
</InputGroup>
|
||||||
</Col>
|
</Col>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
<!-- Node Col-->
|
<!-- Node Col-->
|
||||||
<Col class="mt-2 mt-lg-0">
|
<Col class="mt-2 mt-lg-0">
|
||||||
<InputGroup>
|
<InputGroup>
|
||||||
|
@ -181,6 +181,9 @@
|
|||||||
style="padding-top: {headerPaddingTop}px;"
|
style="padding-top: {headerPaddingTop}px;"
|
||||||
>
|
>
|
||||||
{cluster} Node Info
|
{cluster} Node Info
|
||||||
|
{#if $nodesQuery.fetching}
|
||||||
|
<Spinner size="sm" style="margin-left:10px;" secondary />
|
||||||
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
{#each selectedMetrics as metric (metric)}
|
{#each selectedMetrics as metric (metric)}
|
||||||
|
@ -133,6 +133,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
{#each refinedData as metricData (metricData.data.name)}
|
{#each refinedData as metricData (metricData.data.name)}
|
||||||
|
{#key metricData}
|
||||||
<td>
|
<td>
|
||||||
{#if metricData?.disabled}
|
{#if metricData?.disabled}
|
||||||
<Card body class="mx-3" color="info"
|
<Card body class="mx-3" color="info"
|
||||||
@ -181,5 +182,6 @@
|
|||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
|
{/key}
|
||||||
{/each}
|
{/each}
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user