summaryrefslogtreecommitdiff
path: root/src/maps/maps.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-07-20 17:08:40 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:31 +0100
commitbaf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9 (patch)
treed67712fff87c437bf56ffece08180d20f6efec32 /src/maps/maps.js
parentcbf8fde7440e778597f16dff15b4fde829f2f730 (diff)
downloadbrokentalents-baf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9.tar.gz
brokentalents-baf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9.zip
ReportTable: Add CSV download
Diffstat (limited to 'src/maps/maps.js')
-rw-r--r--src/maps/maps.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/maps/maps.js b/src/maps/maps.js
index 9237c4b..c3f50c8 100644
--- a/src/maps/maps.js
+++ b/src/maps/maps.js
@@ -23,7 +23,8 @@ function getTalentName(talent) {
.replace(/([A-Z])/g, (s) => ' ' + s.toLowerCase())
.split(' ') // capitalize first letter
.map((s) => s.charAt(0).toUpperCase() + s.slice(1))
- .join(' ');
+ .join(' ')
+ .substring(1);
}
}