mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Make bookmarks menu appear all the time
This commit is contained in:
@@ -10,7 +10,6 @@ class CurrentUserSerializer < BasicUserSerializer
|
||||
:staff?,
|
||||
:reply_count,
|
||||
:topic_count,
|
||||
:bookmarks_count,
|
||||
:enable_quoting,
|
||||
:external_links_in_new_tab,
|
||||
:dynamic_favicon,
|
||||
@@ -38,10 +37,6 @@ class CurrentUserSerializer < BasicUserSerializer
|
||||
object.user_stat.topic_reply_count
|
||||
end
|
||||
|
||||
def bookmarks_count
|
||||
UserAction.bookmarks_stats(object.id)
|
||||
end
|
||||
|
||||
def site_flagged_posts_count
|
||||
PostAction.flagged_posts_count
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user