Small refactor to remove one redundant line.

This commit is contained in:
luixal 2022-10-11 19:47:48 +02:00 committed by Bastien Wirtz
parent 13069da195
commit 4fe179c533

View File

@ -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;
},
},
};