Fix CSV export headline (CC-32)
parent
bf8ff5d2f6
commit
026a3611a6
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "opt-cc",
|
||||
"version": "1.7.6",
|
||||
"version": "1.7.7",
|
||||
"author": "Florian Hartwich <hardi@noarch.de>",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
@ -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 += ',';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue