diff options
author | luixal <luixal@gmail.com> | 2022-10-11 19:47:48 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-10-13 21:51:06 +0200 |
commit | 4fe179c53364c21eae3e5507aa7140a701287214 (patch) | |
tree | 247d89b4098cc4eb7275bd25aff66755fa91f2a7 /src/components | |
parent | 13069da195950d2598492ea9f4a8bb4585fcb71f (diff) | |
download | homer-4fe179c53364c21eae3e5507aa7140a701287214.tar.gz homer-4fe179c53364c21eae3e5507aa7140a701287214.tar.zst homer-4fe179c53364c21eae3e5507aa7140a701287214.zip |
Small refactor to remove one redundant line.
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/services/Proxmox.vue | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ | |||
79 | this.vms.total += vms.data.length; | 79 | this.vms.total += vms.data.length; |
80 | this.vms.running += vms.data.filter( i => i.status === 'running' ).length; | 80 | this.vms.running += vms.data.filter( i => i.status === 'running' ).length; |
81 | this.error = false; | 81 | this.error = false; |
82 | this.loading = false; | ||
83 | } catch(err) { | 82 | } catch(err) { |
84 | console.log(err); | 83 | console.log(err); |
85 | this.loading = false; | ||
86 | this.error = true; | 84 | this.error = true; |
87 | } | 85 | } |
86 | this.loading = false; | ||
88 | }, | 87 | }, |
89 | }, | 88 | }, |
90 | }; | 89 | }; |