reformat code
parent
c4a876bbda
commit
53a99020b8
|
@ -14,7 +14,7 @@ export class AwardingService {
|
|||
|
||||
getUnconfirmedAwards(fraction?: string) {
|
||||
return this.http.get(this.config.apiAwardPath + '?inProgress=true&fractFilter=' + fraction)
|
||||
.map(res => res.json());
|
||||
.map(res => res.json());
|
||||
}
|
||||
|
||||
checkUnprocessedAwards(fraction?: string) {
|
||||
|
@ -30,7 +30,7 @@ export class AwardingService {
|
|||
*/
|
||||
getUserAwardings(userId: string) {
|
||||
return this.http.get(this.config.apiAwardPath + '?userId=' + userId)
|
||||
.map(res => res.json());
|
||||
.map(res => res.json());
|
||||
}
|
||||
|
||||
addAwarding(award: Award) {
|
||||
|
@ -39,7 +39,7 @@ export class AwardingService {
|
|||
|
||||
updateAward(award) {
|
||||
return this.http.patch(this.config.apiAwardPath + '/' + award._id, award)
|
||||
.map(res => res.json());
|
||||
.map(res => res.json());
|
||||
}
|
||||
|
||||
requestAwarding(award: Award) {
|
||||
|
|
|
@ -97,7 +97,9 @@ export class CampaignPlayerDetailComponent implements OnInit {
|
|||
this.captureData = this.assignData(this.yAxisCapture, 'flagTouch');
|
||||
|
||||
this.kdRatio = parseFloat((this.totalKills / (this.totalDeath === 0 ? 1 : this.totalDeath)).toFixed(2));
|
||||
if (this.kdRatio > 1) { this.maxKd = this.kdRatio * 1.7; }
|
||||
if (this.kdRatio > 1) {
|
||||
this.maxKd = this.kdRatio * 1.7;
|
||||
}
|
||||
|
||||
this.respawnDeathRatio = parseFloat((this.totalRespawn / (this.totalDeath === 0 ? 1 : this.totalDeath)).toFixed(2));
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@ ngx-datatable {
|
|||
}
|
||||
|
||||
/* Table Scrollbar BEGIN */
|
||||
|
||||
:host /deep/ .ngx-datatable.scroll-vertical .datatable-body::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
|
@ -72,4 +73,5 @@ ngx-datatable {
|
|||
background: #4b4b4b;
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
/* Table Scrollbar END */
|
||||
|
|
Loading…
Reference in New Issue