mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-25 08:16:28 +01:00
Fix export if never wish on a banner category
This commit is contained in:
parent
2d43564876
commit
8217a2bf14
2 changed files with 7 additions and 1 deletions
|
@ -147,6 +147,8 @@ async function addWishHistory(workbook, icons) {
|
|||
bold: true,
|
||||
};
|
||||
|
||||
if (data === null) continue;
|
||||
|
||||
let groupCount = 0;
|
||||
let lastTime = 0;
|
||||
let lastBanner = '';
|
||||
|
|
|
@ -75,7 +75,11 @@ export function process(id) {
|
|||
};
|
||||
});
|
||||
|
||||
const { pullData } = readLocalData(path);
|
||||
const data = readLocalData(path);
|
||||
|
||||
if (data === null) return null;
|
||||
|
||||
const pullData = data.pullData;
|
||||
|
||||
const currentPulls = [];
|
||||
const allLegendary = [];
|
||||
|
|
Loading…
Reference in a new issue