diff --git a/components/Event.vue b/components/Event.vue index b7d87ff5..2842125e 100644 --- a/components/Event.vue +++ b/components/Event.vue @@ -84,6 +84,8 @@ export default { if (!ret) { return } await this.$axios.delete(`/event/${this.event.id}`) this.$emit('destroy', this.event.id) + this.$root.$message('admin.event_remove_ok') + } } } diff --git a/locales/en.json b/locales/en.json index fab32004..3d35d3d5 100644 --- a/locales/en.json +++ b/locales/en.json @@ -174,6 +174,7 @@ "delete_user_confirm": "Are you sure you want to remove {user}?", "user_remove_ok": "User removed", "user_create_ok": "User created", + "event_remove_ok": "Event removed", "allow_registration_description": "Allow open registrations?", "allow_anon_event": "Allow anonymous events (has to be confirmed)?", "allow_recurrent_event": "Allow recurring events",