Fix redirection after deleting an event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-02-04 17:18:08 +01:00
parent 177341b491
commit c41b80301f
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -941,7 +941,7 @@ export default class Event extends EventMixin {
}); });
}); });
this.$on("eventDeleted", () => { this.$on("event-deleted", () => {
return this.$router.push({ name: RouteName.HOME }); return this.$router.push({ name: RouteName.HOME });
}); });
} }