Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps
This commit is contained in:
commit
95679106ac
|
@ -91,6 +91,7 @@
|
||||||
if (!appToDelete) {
|
if (!appToDelete) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
await del(`/api/applications/${appToDelete?._id}`)
|
await del(`/api/applications/${appToDelete?._id}`)
|
||||||
await apps.load()
|
await apps.load()
|
||||||
appToDelete = null
|
appToDelete = null
|
||||||
|
@ -100,7 +101,7 @@
|
||||||
try {
|
try {
|
||||||
const response = await del(`/api/dev/${appId}/lock`)
|
const response = await del(`/api/dev/${appId}/lock`)
|
||||||
const json = await response.json()
|
const json = await response.json()
|
||||||
if (json.status !== 200) throw json.message
|
if (response.status !== 200) throw json.message
|
||||||
|
|
||||||
notifications.success("Lock released")
|
notifications.success("Lock released")
|
||||||
await apps.load(appStatus)
|
await apps.load(appStatus)
|
||||||
|
|
Loading…
Reference in New Issue