diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-07-20 17:08:40 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:31 +0100 |
| commit | baf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9 (patch) | |
| tree | d67712fff87c437bf56ffece08180d20f6efec32 /src/maps | |
| parent | cbf8fde7440e778597f16dff15b4fde829f2f730 (diff) | |
| download | brokentalents-baf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9.tar.gz brokentalents-baf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9.zip | |
ReportTable: Add CSV download
Diffstat (limited to 'src/maps')
| -rw-r--r-- | src/maps/maps.js | 3 |
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); } } |
