Use drone to build releases

This commit is contained in:
Tyler
2019-12-29 18:17:12 -05:00
parent 6eeeaf9b7a
commit 4f0e2bf4a0
7 changed files with 55 additions and 20 deletions

View File

@ -27,15 +27,12 @@
if (!this.status) {
return '0.00';
}
return parseFloat(this.status.UserPct).toFixed(2);
return parseFloat(this.status).toFixed(2);
},
percentageClass: function() {
if (!this.status) {
return 'info';
}
if (this.status.UserPct >= 90) {
if (this.status >= 90) {
return 'danger';
} else if (this.status.UserPct >= 80) {
} else if (this.status >= 80) {
return 'warning';
}
return 'success'