FIX: Show staff counters if the rejected posts count is the only value to show (#9845)
This commit is contained in:
parent
eef47a26d9
commit
234933c781
|
@ -51,13 +51,15 @@ export default Controller.extend(CanCheckEmails, {
|
|||
hasDeletedPosts: gt("model.number_of_deleted_posts", 0),
|
||||
hasBeenSuspended: gt("model.number_of_suspensions", 0),
|
||||
hasReceivedWarnings: gt("model.warnings_received_count", 0),
|
||||
hasRejectedPosts: gt("model.number_of_rejected_posts", 0),
|
||||
|
||||
showStaffCounters: or(
|
||||
"hasGivenFlags",
|
||||
"hasFlaggedPosts",
|
||||
"hasDeletedPosts",
|
||||
"hasBeenSuspended",
|
||||
"hasReceivedWarnings"
|
||||
"hasReceivedWarnings",
|
||||
"hasRejectedPosts"
|
||||
),
|
||||
|
||||
showFeaturedTopic: and(
|
||||
|
|
Loading…
Reference in New Issue