mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +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>
|
||||||
|
Loading…
Reference in New Issue
Block a user