mirror of https://github.com/bastienwirtz/homer
Small refactor to remove one redundant line.
parent
13069da195
commit
4fe179c533
|
@ -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;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue