If it is disabled, remove the link of the profile directory (#9665)
This commit is contained in:
parent
e74c99edf5
commit
1340460c85
3 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
version: Mastodon::Version.to_s,
|
||||
invites_enabled: Setting.min_invite_role == 'user',
|
||||
mascot: instance_presenter.mascot&.file&.url,
|
||||
profile_directory: Setting.profile_directory,
|
||||
}
|
||||
|
||||
if object.current_account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue