Fix error when deleting screen
This commit is contained in:
parent
a828e2b0c3
commit
84bc177784
|
@ -14,11 +14,9 @@
|
||||||
try {
|
try {
|
||||||
await store.actions.screens.delete(screen)
|
await store.actions.screens.delete(screen)
|
||||||
await store.actions.routing.fetch()
|
await store.actions.routing.fetch()
|
||||||
confirmDeleteDialog.hide()
|
|
||||||
$goto("../")
|
$goto("../")
|
||||||
notifications.success("Deleted screen successfully.")
|
notifications.success("Deleted screen successfully.")
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
|
||||||
notifications.error("Error deleting screen")
|
notifications.error("Error deleting screen")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue