mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 13:06:44 +08:00
FEATURE: split up group PMS on user page
This commit is contained in:
@ -16,7 +16,6 @@ const User = RestModel.extend({
|
||||
hasPMs: Em.computed.gt("private_messages_stats.all", 0),
|
||||
hasStartedPMs: Em.computed.gt("private_messages_stats.mine", 0),
|
||||
hasUnreadPMs: Em.computed.gt("private_messages_stats.unread", 0),
|
||||
hasGroupsPMs: Em.computed.gt("private_messages_stats.groups", 0),
|
||||
hasPosted: Em.computed.gt("post_count", 0),
|
||||
hasNotPosted: Em.computed.not("hasPosted"),
|
||||
canBeDeleted: Em.computed.and("can_be_deleted", "hasNotPosted"),
|
||||
|
Reference in New Issue
Block a user