Fix error when deleting screen

This commit is contained in:
Andrew Kingston 2021-06-18 12:32:55 +01:00
parent a828e2b0c3
commit 84bc177784
1 changed files with 0 additions and 2 deletions

View File

@ -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")
}
}