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