mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Fix some more autobake weirdness.
Input passed in the URL is now set on load. Added a new progress bar.
This commit is contained in:
parent
8e9717906f
commit
e9d60f73f4
5 changed files with 16 additions and 10 deletions
|
@ -322,7 +322,6 @@ class WorkerWaiter {
|
|||
if (typeof nextInput.inputNum === "string") nextInput.inputNum = parseInt(nextInput.inputNum, 10);
|
||||
|
||||
log.debug(`Baking input ${nextInput.inputNum}.`);
|
||||
this.setBakingStatus(true);
|
||||
this.manager.output.updateOutputStatus("baking", nextInput.inputNum);
|
||||
this.manager.output.updateOutputMessage(`Baking input ${nextInput.inputNum}...`, nextInput.inputNum);
|
||||
|
||||
|
@ -404,12 +403,8 @@ class WorkerWaiter {
|
|||
|
||||
|
||||
if (inputData.override) {
|
||||
for (let i = this.chefWorkers.length - 1; i >= 0; i--) {
|
||||
this.removeChefWorker(this.chefWorkers[i]);
|
||||
}
|
||||
this.totalOutputs = 1;
|
||||
this.inputs = [inputData];
|
||||
this.bakeNextInput(this.addChefWorker());
|
||||
} else {
|
||||
this.totalOutputs++;
|
||||
this.inputs.push(inputData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue