feat: set progress to 1/1 when queue is empty
parent
d83118aab3
commit
3438184c4c
|
|
@ -562,6 +562,11 @@ export class App {
|
||||||
for (const battle of workQueue) {
|
for (const battle of workQueue) {
|
||||||
await step(battle);
|
await step(battle);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
onStep?.({
|
||||||
|
current: 1,
|
||||||
|
total: 1,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return exported;
|
return exported;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue