Adding some fixes for general settings menu not respecting non-deployed apps fully.
This commit is contained in:
parent
69f40d6b4e
commit
a9f36d1a42
|
@ -62,6 +62,7 @@
|
|||
if (urlIdx !== -1) {
|
||||
existingAppUrls.splice(urlIdx, 1)
|
||||
}
|
||||
console.log(existingAppUrls)
|
||||
nameValidation = {
|
||||
name: string()
|
||||
.required(nameError)
|
||||
|
|
|
@ -100,5 +100,11 @@ exports.getDeployedApps = async () => {
|
|||
"x-budibase-auth": hostingKey,
|
||||
},
|
||||
})
|
||||
return response.json()
|
||||
const json = await response.json()
|
||||
for (let value of Object.values(json)) {
|
||||
if (value.url) {
|
||||
value.url = value.url.toLowerCase()
|
||||
}
|
||||
}
|
||||
return json
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue