0
0
Fork 0

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:
Yamagishi Kazutoshi 2022-10-09 10:49:51 +09:00 committed by GitHub
parent 45ebdb72ca
commit e82467ca41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 15 deletions

View file

@ -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