diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/admin/reports.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/admin/reports.vue b/pages/admin/reports.vue index 8422eb7..877c228 100644 --- a/pages/admin/reports.vue +++ b/pages/admin/reports.vue @@ -184,6 +184,9 @@ export default { } }, saveWarning() { + if (!this.form.resolved_by) this.form.resolved_by = 0; + else this.form.resolved_by = this.me.id; + this.$store .dispatch("warnings/editWarning", { ...this.form }) .then((response) => { |