From 026a3611a66387e837b3b41285f58cc73ba5c776 Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sun, 17 Jun 2018 10:47:02 +0200 Subject: [PATCH] Fix CSV export headline (CC-32) --- package.json | 2 +- static/src/app/statistic/war/scoreboard/scoreboard.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9a46c82..23e7421 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opt-cc", - "version": "1.7.6", + "version": "1.7.7", "author": "Florian Hartwich ", "private": true, "scripts": { diff --git a/static/src/app/statistic/war/scoreboard/scoreboard.component.ts b/static/src/app/statistic/war/scoreboard/scoreboard.component.ts index ac2b5b3..aa05ffd 100644 --- a/static/src/app/statistic/war/scoreboard/scoreboard.component.ts +++ b/static/src/app/statistic/war/scoreboard/scoreboard.component.ts @@ -71,7 +71,7 @@ export class ScoreboardComponent implements OnChanges { exportCSV() { let csvOut = ''; for (let i = 0; i < this.tableHead.length; i++) { - csvOut += this.tableHead[i]; + csvOut += this.tableHead[i].head; if (i !== this.tableHead.length - 1) { csvOut += ','; }