Fix app deletion not working
This commit is contained in:
parent
c911e67629
commit
7db2a63a67
|
@ -98,8 +98,7 @@
|
||||||
if (!appToDelete) {
|
if (!appToDelete) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
await del(`/api/applications/${appToDelete?.appId}`)
|
||||||
await del(`/api/applications/${appToDelete?._id}`)
|
|
||||||
await apps.load()
|
await apps.load()
|
||||||
appToDelete = null
|
appToDelete = null
|
||||||
notifications.success("App deleted successfully.")
|
notifications.success("App deleted successfully.")
|
||||||
|
|
Loading…
Reference in New Issue