mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 07:17:43 +01:00
Add excel import beginner wish missing apostrophe
This commit is contained in:
parent
999584058e
commit
eb10a4cc64
1 changed files with 5 additions and 1 deletions
|
@ -199,7 +199,11 @@
|
|||
const chars = Object.values(characters);
|
||||
|
||||
for (const [id, category] of Object.entries(bannerCategories)) {
|
||||
const sheet = workbook.getWorksheet(category);
|
||||
let sheet = workbook.getWorksheet(category);
|
||||
if (id === 'beginners' && sheet === undefined) {
|
||||
sheet = workbook.getWorksheet('Beginners Wish');
|
||||
}
|
||||
|
||||
const wishes = [];
|
||||
sheet.eachRow((row, index) => {
|
||||
if (index === 1) return;
|
||||
|
|
Loading…
Reference in a new issue