From bc93b578852458ef5a51a8b0c9fe964d4162d877 Mon Sep 17 00:00:00 2001 From: James Xylight Date: Sun, 6 Jul 2025 16:42:12 -0700 Subject: [PATCH] fix: reversed resolve reports modification --- src/routes/moderation/Report.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/moderation/Report.svelte b/src/routes/moderation/Report.svelte index 37d0a2e8..b2786b28 100644 --- a/src/routes/moderation/Report.svelte +++ b/src/routes/moderation/Report.svelte @@ -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 }), ), )