Add unfollow modal (optional) (#4246)
* Add unfollow modal * unfollowing someone * remove unnecessary prop
This commit is contained in:
parent
89b988cab5
commit
3267e4a785
43 changed files with 146 additions and 5 deletions
|
@ -15,6 +15,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
|
||||
if object.current_account
|
||||
store[:me] = object.current_account.id
|
||||
store[:unfollow_modal] = object.current_account.user.setting_unfollow_modal
|
||||
store[:boost_modal] = object.current_account.user.setting_boost_modal
|
||||
store[:delete_modal] = object.current_account.user.setting_delete_modal
|
||||
store[:auto_play_gif] = object.current_account.user.setting_auto_play_gif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue