From fc516058ef59cbbb2d613347c5fce81be783f771 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 26 Sep 2022 23:21:32 +0200 Subject: Response to a report --- components/ModelReportsList.vue | 133 +++++++++++++++++++++++++++++++++++----- pages/models/_id/index.vue | 3 + 2 files changed, 119 insertions(+), 17 deletions(-) diff --git a/components/ModelReportsList.vue b/components/ModelReportsList.vue index a46e6d1..fe52320 100644 --- a/components/ModelReportsList.vue +++ b/components/ModelReportsList.vue @@ -1,39 +1,138 @@ diff --git a/pages/models/_id/index.vue b/pages/models/_id/index.vue index ee51035..2f90025 100644 --- a/pages/models/_id/index.vue +++ b/pages/models/_id/index.vue @@ -274,6 +274,9 @@ export default { this.$toast.success("Report created, thank you!"); this.report.warning_note = null; this.boxReport = false; + this.$store.dispatch("warnings/filterWarnings", { + model_id: this.model.id, + }); } else { this.$toast.error(response.data); } -- cgit v1.2.3-18-g5258