when deleting a char the user is routed to dashboard
This commit is contained in:
@@ -28,6 +28,7 @@ export default {
|
||||
|
||||
if (response.status === 200 || response.status === 204) {
|
||||
this.$emit('deleted')
|
||||
this.$router.push('/dashboard')
|
||||
} else {
|
||||
console.error('Failed to delete character')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user