1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Adding some fixes for general settings menu not respecting non-deployed apps fully.

This commit is contained in:
mike12345567 2021-01-14 17:52:49 +00:00
parent 74d60cb622
commit 61f5d77335
2 changed files with 8 additions and 1 deletions

View file

@ -62,6 +62,7 @@
if (urlIdx !== -1) {
existingAppUrls.splice(urlIdx, 1)
}
console.log(existingAppUrls)
nameValidation = {
name: string()
.required(nameError)

View file

@ -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
}