@@ -247,6 +249,7 @@ export default {
return {
markdown: new showdown.Converter(),
isLoading: false,
+ isCollapsed: false,
}
},
computed: {
@@ -354,8 +357,10 @@ export default {
axios.patch(url, {is_handled: v}).then((response) => {
self.$emit('handled', v)
self.isLoading = false
+ self.obj.is_handled = v
let increment
if (v) {
+ self.isCollapsed = true
increment = -1
} else {
increment = 1
diff --git a/front/src/views/admin/moderation/ReportsList.vue b/front/src/views/admin/moderation/ReportsList.vue
index e8a7e3ed4..5a3b48c60 100644
--- a/front/src/views/admin/moderation/ReportsList.vue
+++ b/front/src/views/admin/moderation/ReportsList.vue
@@ -55,7 +55,7 @@
-
+