Fixed app creator sizes
This commit is contained in:
@@ -2207,7 +2207,6 @@ const AngularWorkflow = (props) => {
|
|||||||
|
|
||||||
if ((selectedVariableParameter === null || selectedVariableParameter === undefined) && (workflow.workflow_variables !== null && workflow.workflow_variables.length > 0)) {
|
if ((selectedVariableParameter === null || selectedVariableParameter === undefined) && (workflow.workflow_variables !== null && workflow.workflow_variables.length > 0)) {
|
||||||
// FIXME - this is the bad thing
|
// FIXME - this is the bad thing
|
||||||
console.log("Does it go here or what?")
|
|
||||||
setSelectedVariableParameter(workflow.workflow_variables[0].name)
|
setSelectedVariableParameter(workflow.workflow_variables[0].name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -369,6 +369,7 @@ const AppCreator = (props) => {
|
|||||||
securitySchemes = data.components.securitySchemes
|
securitySchemes = data.components.securitySchemes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: Have multiple authentication options?
|
||||||
if (securitySchemes !== undefined) {
|
if (securitySchemes !== undefined) {
|
||||||
console.log("Am I in here?")
|
console.log("Am I in here?")
|
||||||
for (const [key, value] of Object.entries(securitySchemes)) {
|
for (const [key, value] of Object.entries(securitySchemes)) {
|
||||||
@@ -377,7 +378,6 @@ const AppCreator = (props) => {
|
|||||||
break
|
break
|
||||||
} else if (value.type === "apiKey") {
|
} else if (value.type === "apiKey") {
|
||||||
setAuthenticationOption("API key")
|
setAuthenticationOption("API key")
|
||||||
setParameterName(value.name)
|
|
||||||
|
|
||||||
value.in = value.in.charAt(0).toUpperCase() + value.in.slice(1);
|
value.in = value.in.charAt(0).toUpperCase() + value.in.slice(1);
|
||||||
setParameterLocation(value.in)
|
setParameterLocation(value.in)
|
||||||
@@ -385,6 +385,8 @@ const AppCreator = (props) => {
|
|||||||
console.log("APIKEY SELECT: ", apikeySelection)
|
console.log("APIKEY SELECT: ", apikeySelection)
|
||||||
alert.error("Might be error in setting up API key authentication")
|
alert.error("Might be error in setting up API key authentication")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setParameterName(value.name)
|
||||||
break
|
break
|
||||||
} else if (value.scheme === "basic") {
|
} else if (value.scheme === "basic") {
|
||||||
setAuthenticationOption("Basic auth")
|
setAuthenticationOption("Basic auth")
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ const data = [{
|
|||||||
'shape': 'square',
|
'shape': 'square',
|
||||||
'background-color': '#213243',
|
'background-color': '#213243',
|
||||||
'border-color': '#81c784',
|
'border-color': '#81c784',
|
||||||
|
'background-width': '100%',
|
||||||
|
'background-height': '100%',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user