mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Remove step and progress from Chef.
It's now all handled by the App!
This commit is contained in:
parent
0e5944e9c6
commit
31a3af1f84
6 changed files with 56 additions and 79 deletions
|
@ -73,16 +73,17 @@ class ControlsWaiter {
|
|||
// Reset status using cancelBake
|
||||
this.manager.worker.cancelBake(true, false);
|
||||
const activeTab = this.manager.input.getActiveTab();
|
||||
|
||||
if (this.manager.output.outputs[activeTab].progress === false){
|
||||
this.app.progress = 0;
|
||||
} else {
|
||||
this.app.progress = this.manager.output.outputs[activeTab].progress;
|
||||
let progress = 0;
|
||||
if (this.manager.output.outputs[activeTab].progress !== false) {
|
||||
progress = this.manager.output.outputs[activeTab].progress;
|
||||
}
|
||||
|
||||
this.manager.input.inputWorker.postMessage({
|
||||
action: "step",
|
||||
data: activeTab
|
||||
data: {
|
||||
activeTab: activeTab,
|
||||
progress: progress + 1
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue