Trying to fix double count achievement

This commit is contained in:
Made Baruna 2022-09-06 04:57:09 +07:00
parent b2148e6f50
commit c65eb3f6aa
2 changed files with 11 additions and 1 deletions

View file

@ -75,6 +75,11 @@
let typeFilter = []; let typeFilter = [];
function parseCategories() { function parseCategories() {
totalAchievement = 0;
finishedAchievement = 0;
totalPrimogem = 0;
obtainedPrimogem = 0;
categories = Object.entries(achievement) categories = Object.entries(achievement)
.map(([id, data]) => ({ .map(([id, data]) => ({
id, id,

View file

@ -7,7 +7,12 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
const IMAGE_URL = `${self.location.origin}/images/`; const IMAGE_URL = `${self.location.origin}/images/`;
const changelog = ['Update wish import instruction for pc', 'Update fishing book']; const changelog = [
'Add checklist to achievement',
'Update achievement commission list',
'Update wish import instruction for pc',
'Adjust calendar view on mobile',
];
const channel = new BroadcastChannel('paimonmoe-sw'); const channel = new BroadcastChannel('paimonmoe-sw');