feat: add and close #169

This commit is contained in:
Xyphyn committed 2023-10-14 11:31:09 -07:00
1 parent ea594e0061
commit 108169f5a9
9 files changed
+89 -44

No files matched your search

+1 -6
View File
@@ -76,12 +76,7 @@
}
}
const reports = await getClient().getReportCount({})
$profile.user.reports =
reports.comment_reports +
reports.post_reports +
(reports.private_message_reports ?? 0)
$profile.user.notifications.reports += item.resolved ? 1 : -1
} catch (err) {
toast({
content: err as any,