From 4fe179c53364c21eae3e5507aa7140a701287214 Mon Sep 17 00:00:00 2001 From: luixal Date: Tue, 11 Oct 2022 19:47:48 +0200 Subject: Small refactor to remove one redundant line. --- src/components/services/Proxmox.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/components/services') diff --git a/src/components/services/Proxmox.vue b/src/components/services/Proxmox.vue index 092d077..1d2c2c9 100644 --- a/src/components/services/Proxmox.vue +++ b/src/components/services/Proxmox.vue @@ -79,12 +79,11 @@ this.vms.total += vms.data.length; this.vms.running += vms.data.filter( i => i.status === 'running' ).length; this.error = false; - this.loading = false; } catch(err) { console.log(err); - this.loading = false; this.error = true; } + this.loading = false; }, }, }; -- cgit v1.2.3