mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-13 11:18:28 +01:00
Fix total when manually insert/delete wish
This commit is contained in:
parent
5b910e8124
commit
f149b48117
1 changed files with 2 additions and 1 deletions
|
@ -129,6 +129,7 @@
|
|||
const lastPulls = [...pulls];
|
||||
lastPulls.splice(index, 0, newPull);
|
||||
pulls = lastPulls;
|
||||
total = pulls.length;
|
||||
closeModal();
|
||||
saveData();
|
||||
}
|
||||
|
@ -146,7 +147,7 @@
|
|||
const updated = pulls.slice();
|
||||
updated.splice(index, 1);
|
||||
pulls = updated;
|
||||
|
||||
total = pulls.length;
|
||||
closeModal();
|
||||
saveData();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue