mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Replace the "posts" line with message count
This commit is contained in:
@@ -159,6 +159,9 @@ const Report = Discourse.Model.extend({
|
||||
|
||||
@computed('type')
|
||||
icon(type) {
|
||||
if (type.indexOf("message") > -1) {
|
||||
return "envelope";
|
||||
}
|
||||
switch (type) {
|
||||
case "flags": return "flag";
|
||||
case "likes": return "heart";
|
||||
|
||||
Reference in New Issue
Block a user