fix: reversed resolve reports modification

This commit is contained in:
James Xylight committed 2025-07-06 16:42:12 -07:00
1 parent 25b8f34b61
commit bc93b57885
1 file changed
+3 -3
+3 -3
View File
@@ -40,7 +40,7 @@
.then(res => {
i.resolved = res.comment_report_view.comment_report.resolved
i.resolver = res.comment_report_view.resolver
$notifications.reports += i.resolved ? 1 : -1
$notifications.reports += i.resolved ? -1 : 1
}),
),
)
@@ -60,7 +60,7 @@
i.resolver = res.post_report_view.resolver
$notifications.reports += i.resolved ? 1 : -1
$notifications.reports += i.resolved ? -1 : 1
}),
),
)
@@ -81,7 +81,7 @@
i.resolver = res.private_message_report_view.resolver
$notifications.reports += i.resolved ? 1 : -1
$notifications.reports += i.resolved ? -1 : 1
}),
),
)