mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-30 12:11:51 +01:00
Trying to fix double count achievement
This commit is contained in:
parent
b2148e6f50
commit
c65eb3f6aa
2 changed files with 11 additions and 1 deletions
|
@ -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,
|
||||||
|
|
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue