feat: add and close #169
This commit is contained in:
1 parent
ea594e0061
commit
108169f5a9
9 files changed
+89
-44
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user