Use drone to build releases
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user