From fc516058ef59cbbb2d613347c5fce81be783f771 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Mon, 26 Sep 2022 23:21:32 +0200
Subject: Response to a report

---
 pages/models/_id/index.vue | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'pages/models/_id/index.vue')

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

