Сделала вывод ошибки в модальное окно

This commit is contained in:
Daria Golova
2022-11-21 14:10:51 +03:00
parent b2cc48efb3
commit d4f8470186
4 changed files with 19 additions and 6 deletions

View File

@@ -40,6 +40,7 @@ export default {
methods: {
async deleteEvent() {
await fetchWrapper.del(`registry/event/${this.ownerEvent.id}/delete/`);
this.$emit("update-events");
this.closeModal();
},
},