1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00

Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps

This commit is contained in:
mike12345567 2021-05-13 14:34:11 +01:00
commit 95679106ac

View file

@ -91,6 +91,7 @@
if (!appToDelete) {
return
}
await del(`/api/applications/${appToDelete?._id}`)
await apps.load()
appToDelete = null
@ -100,7 +101,7 @@
try {
const response = await del(`/api/dev/${appId}/lock`)
const json = await response.json()
if (json.status !== 200) throw json.message
if (response.status !== 200) throw json.message
notifications.success("Lock released")
await apps.load(appStatus)