diff --git a/package.json b/package.json index 15f21aa..fe735aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opt-cc", - "version": "1.4.4", + "version": "1.5.0", "license": "MIT", "private": true, "scripts": { diff --git a/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.css b/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.css index 3733481..0332e44 100644 --- a/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.css +++ b/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.css @@ -15,6 +15,13 @@ h2 { padding: 10px; } +.btn-back { + clear: both; + float: left; + width: 120px; + margin-left: 10px; +} + .sum-container { width: 100%; margin: auto; diff --git a/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.html b/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.html index ec93516..1aa64aa 100644 --- a/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.html +++ b/static/src/app/statistic/campaign-player-detail/campaign-player-detail.component.html @@ -3,6 +3,8 @@

Spielerstatistik - {{campaignPlayer.name}}

{{campaignPlayer.campaign.title}} Kampagne

+ < Zurück +
@@ -15,7 +17,7 @@ [min]="0" [units]="'Kill/Death'"> - + [params['id'], params['playerName']]) - .flatMap(id => this.playerService.getCampaignPlayer(id[0], id[1])) + .flatMap(id => this.playerService.getCampaignPlayer(id[0], encodeURIComponent(id[1]))) .subscribe(campaignPlayer => { this.campaignPlayer = campaignPlayer; this.killData = this.assignData(this.yAxisKill, "kill"); @@ -109,7 +109,7 @@ export class CampaignPlayerDetailComponent { }, { name: this.yAxisRespawn, - value: this.totalDeath + value: this.totalRespawn }, { name: this.yAxisRevive, @@ -170,4 +170,8 @@ export class CampaignPlayerDetailComponent { return [killObj]; } + navigateBack() { + this.location.back(); + } + }