mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
Fix bug: baking error did not reset baking status
This commit is contained in:
parent
a13e2468db
commit
21c0fed833
1 changed files with 2 additions and 2 deletions
|
@ -124,14 +124,14 @@ App.prototype.bake = async function(step) {
|
|||
this.handleError(err);
|
||||
}
|
||||
|
||||
this.setBakingStatus(false);
|
||||
|
||||
if (!response) return;
|
||||
|
||||
if (response.error) {
|
||||
this.handleError(response.error);
|
||||
}
|
||||
|
||||
this.setBakingStatus(false);
|
||||
|
||||
this.options = response.options;
|
||||
this.dishStr = response.type === "html" ? Utils.stripHtmlTags(response.result, true) : response.result;
|
||||
this.progress = response.progress;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue