mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 06:01:02 +01:00
Operations with no arguments can now be added to the recipe without causing errors
This commit is contained in:
parent
19c54a99cd
commit
e0eb972a54
@ -482,6 +482,7 @@ App.prototype.setRecipeConfig = function(recipeConfig) {
|
||||
// Populate arguments
|
||||
const args = item.querySelectorAll(".arg");
|
||||
for (let j = 0; j < args.length; j++) {
|
||||
if (recipeConfig[i].args[j] === undefined) continue;
|
||||
if (args[j].getAttribute("type") === "checkbox") {
|
||||
// checkbox
|
||||
args[j].checked = recipeConfig[i].args[j];
|
||||
|
Loading…
Reference in New Issue
Block a user