mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Small corrections
This commit is contained in:
parent
119637cb9b
commit
ee6d286cd7
@ -35,13 +35,11 @@
|
|||||||
|
|
||||||
function closeAndApply() {
|
function closeAndApply() {
|
||||||
metricsInHistograms = [...pendingMetrics] // Set for parent
|
metricsInHistograms = [...pendingMetrics] // Set for parent
|
||||||
|
isOpen = !isOpen
|
||||||
updateConfiguration({
|
updateConfiguration({
|
||||||
name: cluster ? `user_view_histogramMetrics:${cluster}` : 'user_view_histogramMetrics',
|
name: cluster ? `user_view_histogramMetrics:${cluster}` : 'user_view_histogramMetrics',
|
||||||
value: metricsInHistograms
|
value: metricsInHistograms
|
||||||
})
|
})
|
||||||
|
|
||||||
isOpen = false
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -62,5 +60,6 @@
|
|||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter>
|
<ModalFooter>
|
||||||
<Button color="primary" on:click={closeAndApply}> Close & Apply </Button>
|
<Button color="primary" on:click={closeAndApply}> Close & Apply </Button>
|
||||||
|
<Button color="secondary" on:click={() => (isOpen = !isOpen)}> Close </Button>
|
||||||
</ModalFooter>
|
</ModalFooter>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
bind:metrics={metrics}
|
bind:metrics={metrics}
|
||||||
bind:isOpen={isMetricsSelectionOpen} />
|
bind:isOpen={isMetricsSelectionOpen} />
|
||||||
|
|
||||||
<HistogramSelection
|
<HistogramSelection
|
||||||
bind:cluster={selectedCluster}
|
bind:cluster={selectedCluster}
|
||||||
bind:metricsInHistograms={metricsInHistograms}
|
bind:metricsInHistograms={metricsInHistograms}
|
||||||
bind:isOpen={isHistogramSelectionOpen} />
|
bind:isOpen={isHistogramSelectionOpen} />
|
Loading…
Reference in New Issue
Block a user