aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Prometheus.vue
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2023-10-21 14:24:05 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2023-10-21 14:24:05 +0200
commitde4b7e6124254a192c897bdf0070b078a64ee563 (patch)
tree2517f4e70c56b55515f75b686fd9ea508ef5659c /src/components/services/Prometheus.vue
parentecf664d19b2a46c9d89a9a9c1128e22b7228607a (diff)
downloadhomer-de4b7e6124254a192c897bdf0070b078a64ee563.tar.gz
homer-de4b7e6124254a192c897bdf0070b078a64ee563.tar.zst
homer-de4b7e6124254a192c897bdf0070b078a64ee563.zip
Linting updatev23.10.1
Diffstat (limited to 'src/components/services/Prometheus.vue')
-rw-r--r--src/components/services/Prometheus.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/services/Prometheus.vue b/src/components/services/Prometheus.vue
index 6efcb34..7f661ca 100644
--- a/src/components/services/Prometheus.vue
+++ b/src/components/services/Prometheus.vue
@@ -72,7 +72,7 @@ export default {
72 countFiring: function () { 72 countFiring: function () {
73 if (this.api) { 73 if (this.api) {
74 return this.api.data?.alerts?.filter( 74 return this.api.data?.alerts?.filter(
75 (alert) => alert.state === AlertsStatus.firing 75 (alert) => alert.state === AlertsStatus.firing,
76 ).length; 76 ).length;
77 } 77 }
78 return 0; 78 return 0;
@@ -80,7 +80,7 @@ export default {
80 countPending: function () { 80 countPending: function () {
81 if (this.api) { 81 if (this.api) {
82 return this.api.data?.alerts?.filter( 82 return this.api.data?.alerts?.filter(
83 (alert) => alert.state === AlertsStatus.pending 83 (alert) => alert.state === AlertsStatus.pending,
84 ).length; 84 ).length;
85 } 85 }
86 return 0; 86 return 0;
@@ -88,7 +88,7 @@ export default {
88 countInactive: function () { 88 countInactive: function () {
89 if (this.api) { 89 if (this.api) {
90 return this.api.data?.alerts?.filter( 90 return this.api.data?.alerts?.filter(
91 (alert) => alert.state === AlertsStatus.pending 91 (alert) => alert.state === AlertsStatus.pending,
92 ).length; 92 ).length;
93 } 93 }
94 return 0; 94 return 0;