summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-26 23:21:32 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-26 23:21:32 +0200
commitfc516058ef59cbbb2d613347c5fce81be783f771 (patch)
treeaa911c9a3884528907aaba6395552b68478a6eee /pages
parent53a32a36666d58b510d53ce2d78e7e2156c319aa (diff)
Response to a report
Diffstat (limited to 'pages')
-rw-r--r--pages/models/_id/index.vue3
1 files changed, 3 insertions, 0 deletions
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);
}