diff --git a/dist/extendedTribeProfile.js b/dist/extendedTribeProfile.js
index 99f761d..b785c8c 100644
--- a/dist/extendedTribeProfile.js
+++ b/dist/extendedTribeProfile.js
@@ -1638,7 +1638,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
// @namespace https://github.com/tribalwarshelp/scripts
// @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedTribeProfile.js
// @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedTribeProfile.js
-// @version 0.7.5
+// @version 0.8
// @description Extended Tribe Profile
// @author Kichiyaki http://dawid-wysokinski.pl/
// @match *://*/game.php*&screen=info_ally*
@@ -1933,10 +1933,10 @@ const buildMembersGrowthTBody = stats => {
}
total += val;
- tds.push("
").concat(val, " | "));
+ tds.push("").concat(val.toLocaleString(), " | "));
}
- return "\n \n ".concat(player ? "").concat(player.name, "") : '-', "\n | \n ").concat(tds.join(''), "\n ").concat(total, " | \n
");
+ return "\n \n ".concat(player ? "").concat(player.name, "") : '-', "\n | \n ").concat(tds.join(''), "\n ").concat(total.toLocaleString(), " | \n
");
}).join(''), "\n \n ");
};
@@ -1950,7 +1950,7 @@ const createChangeTypeHandler = stats => e => {
};
const renderMembersGrowthPopup = (e, stats) => {
- const formOptions = [['points', 'Points'], ['villages', 'Villages'], ['od', 'Opponents defeated'], ['oda', 'Opponents defeated as attacker'], ['odd', 'Opponents defeated as defender'], ['ods', 'Opponents defeated as supporter']].map(v => ""));
+ const formOptions = [['points', 'Points'], ['villages', 'Villages'], ['od', 'Opponents defeated'], ['oda', 'Opponents defeated as attacker'], ['odd', 'Opponents defeated as defender'], ['ods', 'Opponents defeated as supporter']].map(v => ""));
const html = "\n \n \n ").concat(buildMembersGrowthTBody(stats), "\n
\n ");
(0, _renderPopup.default)({
e,
diff --git a/src/extendedTribeProfile.js b/src/extendedTribeProfile.js
index 97b2f55..f83a012 100644
--- a/src/extendedTribeProfile.js
+++ b/src/extendedTribeProfile.js
@@ -18,7 +18,7 @@ import { formatPlayerURL as formatPlayerURLTribalWars } from './utils/tribalwars
// @namespace https://github.com/tribalwarshelp/scripts
// @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedTribeProfile.js
// @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedTribeProfile.js
-// @version 0.7.5
+// @version 0.8
// @description Extended Tribe Profile
// @author Kichiyaki http://dawid-wysokinski.pl/
// @match *://*/game.php*&screen=info_ally*
@@ -449,7 +449,9 @@ const buildMembersGrowthTBody = (stats) => {
}
total += val;
tds.push(
- `${val} | `
+ `${val.toLocaleString()} | `
);
}
return `
@@ -463,7 +465,9 @@ const buildMembersGrowthTBody = (stats) => {
}
${tds.join('')}
- ${total} |
+ ${total.toLocaleString()} |
`;
})
.join('')}
@@ -490,7 +494,12 @@ const renderMembersGrowthPopup = (e, stats) => {
['oda', 'Opponents defeated as attacker'],
['odd', 'Opponents defeated as defender'],
['ods', 'Opponents defeated as supporter'],
- ].map((v) => ``);
+ ].map(
+ (v) =>
+ ``
+ );
const html = `