feat(reports): show suspended status next to reported profile
And only show the suspend button if the profile isn't already suspended (or the user disabled) Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -42,14 +42,17 @@ const REPORT_FRAGMENT = gql`
|
||||
id
|
||||
reported {
|
||||
...ActorFragment
|
||||
suspended
|
||||
... on Person {
|
||||
user {
|
||||
id
|
||||
disabled
|
||||
}
|
||||
}
|
||||
}
|
||||
reporter {
|
||||
...ActorFragment
|
||||
suspended
|
||||
}
|
||||
events {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user