Fixed openapi replacement bug in app creator

This commit is contained in:
frikky
2022-01-21 15:47:22 +01:00
parent ad8618fce3
commit 5525131e7c
4 changed files with 33 additions and 22 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ const ParsedAction = (props) => {
//}
// PARAM FIX - Gonna use the ID field, even though it's a hack
const paramcheck = selectedAction.parameters.find(param => param.name === "body")
console.log("LOADED! Change hideBody based on input? Action: ", selectedAction, paramcheck)
//console.log("LOADED! Change hideBody based on input? Action: ", selectedAction, paramcheck)
if (paramcheck !== undefined && paramcheck !== null) {
if (paramcheck.id === "TOGGLED"){
setHideBody(false)