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