Fix export if never wish on a banner category

pull/1/head
Made Baruna 2021-03-27 18:38:12 +08:00
parent 2d43564876
commit 8217a2bf14
2 changed files with 7 additions and 1 deletions

View File

@ -147,6 +147,8 @@ async function addWishHistory(workbook, icons) {
bold: true,
};
if (data === null) continue;
let groupCount = 0;
let lastTime = 0;
let lastBanner = '';

View File

@ -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 = [];