Add Achievements section to Stats page

This commit is contained in:
Daniël van Noord
2021-06-27 23:03:48 +02:00
parent f228365978
commit dfd0d790bc
4 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -135,6 +135,7 @@ const ConfigDefault: {
Prestige: 1, Prestige: 1,
Wrink: 1, Wrink: 1,
Sea: 1, Sea: 1,
Achievs: 1,
Misc: 1, Misc: 1,
InfoTab: 1, InfoTab: 1,
}, },

View File

@@ -100,6 +100,10 @@ export default function AddMenuStats(title) {
stats.appendChild(CreateSections.SeasonSection()); stats.appendChild(CreateSections.SeasonSection());
stats.appendChild(CreateElements.StatsHeader('Achievements', 'Achievs'));
if (CMOptions.Header.Achievs) {
}
stats.appendChild(CreateElements.StatsHeader('Miscellaneous', 'Misc')); stats.appendChild(CreateElements.StatsHeader('Miscellaneous', 'Misc'));
if (CMOptions.Header.Misc) { if (CMOptions.Header.Misc) {
stats.appendChild( stats.appendChild(