From 4b0ce4857e85d11338564498bf2d12133525b910 Mon Sep 17 00:00:00 2001 From: NihadBadalov <32594553+NihadBadalov@users.noreply.github.com> Date: Sat, 17 Feb 2024 18:36:29 +0100 Subject: [PATCH] Chore: Run lint --- src/components/MonitorList.vue | 16 +++---- src/components/MonitorListFilter.vue | 64 ++++++++++++++-------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index c790c4d95..40a21bd8a 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -100,16 +100,16 @@ export default { down: 0, pending: 2, maintenance: 3, - 1: 'up', - 0: 'down', - 2: 'pending', - 3: 'maintenance', + 1: "up", + 0: "down", + 2: "pending", + 3: "maintenance", }, activeStates: { running: true, paused: false, - true: 'running', - false: 'paused', + true: "running", + false: "paused", }, }; }, @@ -293,11 +293,11 @@ export default { updateFilter(newFilter) { const newQuery = { ...this.$router.currentRoute.value.query }; - for (const [key, value] of Object.entries(newFilter)) { + for (const [ key, value ] of Object.entries(newFilter)) { if (!value || (value instanceof Array && value.length === 0)) { delete newQuery[key]; - continue + continue; } newQuery[key] = value instanceof Array diff --git a/src/components/MonitorListFilter.vue b/src/components/MonitorListFilter.vue index 8262af6b7..a0afc7c11 100644 --- a/src/components/MonitorListFilter.vue +++ b/src/components/MonitorListFilter.vue @@ -14,10 +14,10 @@ - + - +