mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-06-27 21:21:41 +02:00
Small refactor to remove one redundant line.
This commit is contained in:
parent
13069da195
commit
4fe179c533
@ -79,12 +79,11 @@
|
|||||||
this.vms.total += vms.data.length;
|
this.vms.total += vms.data.length;
|
||||||
this.vms.running += vms.data.filter( i => i.status === 'running' ).length;
|
this.vms.running += vms.data.filter( i => i.status === 'running' ).length;
|
||||||
this.error = false;
|
this.error = false;
|
||||||
this.loading = false;
|
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
this.loading = false;
|
|
||||||
this.error = true;
|
this.error = true;
|
||||||
}
|
}
|
||||||
|
this.loading = false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user