Remove timeline preview link from nav panel when not signed-in (#19320)
* Remove timeline preview link from nav panel when not signed-in * Always enable server stats
This commit is contained in:
committed by
GitHub
parent
45ebdb72ca
commit
e82467ca41
@ -28,6 +28,8 @@ class InitialStateSerializer < ActiveModel::Serializer
|
||||
profile_directory: Setting.profile_directory,
|
||||
trends: Setting.trends,
|
||||
registrations_open: Setting.registrations_mode != 'none' && !Rails.configuration.x.single_user_mode,
|
||||
timeline_preview: Setting.timeline_preview,
|
||||
activity_api_enabled: Setting.activity_api_enabled,
|
||||
}
|
||||
|
||||
if object.current_account
|
||||
|
Reference in New Issue
Block a user