mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:29:59 +08:00
FIX: Show correct status for user reviewables (#20959)
The status should use the word "user" instead of "flag", for example "approved user" instead of "approved flag". The problem was caused by a mismatched type.
This commit is contained in:
parent
9ff105973f
commit
e9cd74a9e7
|
@ -21,7 +21,7 @@ function dataFor(status, type) {
|
|||
name: "approved_post",
|
||||
cssClass: "approved",
|
||||
};
|
||||
case "User":
|
||||
case "ReviewableUser":
|
||||
return {
|
||||
icon: "check",
|
||||
name: "approved_user",
|
||||
|
@ -42,7 +42,7 @@ function dataFor(status, type) {
|
|||
name: "rejected_post",
|
||||
cssClass: "rejected",
|
||||
};
|
||||
case "User":
|
||||
case "ReviewableUser":
|
||||
return {
|
||||
icon: "times",
|
||||
name: "rejected_user",
|
||||
|
|
Loading…
Reference in New Issue
Block a user