Adding some fixes for general settings menu not respecting non-deployed apps fully.
This commit is contained in:
parent
74d60cb622
commit
61f5d77335
|
@ -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