Removed unused setting for setting_group_in_home_feed in initial_state_serializer
• Removed: - unused setting for setting_group_in_home_feed in initial_state_serializer
This commit is contained in:
parent
7bc93ff98f
commit
63622b5416
@ -26,7 +26,6 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||||||
store[:auto_play_gif] = object.current_account.user.setting_auto_play_gif
|
store[:auto_play_gif] = object.current_account.user.setting_auto_play_gif
|
||||||
store[:display_media] = object.current_account.user.setting_display_media
|
store[:display_media] = object.current_account.user.setting_display_media
|
||||||
store[:expand_spoilers] = object.current_account.user.setting_expand_spoilers
|
store[:expand_spoilers] = object.current_account.user.setting_expand_spoilers
|
||||||
store[:group_in_home_feed] = object.current_account.user.setting_group_in_home_feed
|
|
||||||
store[:is_staff] = object.current_account.user.staff?
|
store[:is_staff] = object.current_account.user.staff?
|
||||||
store[:unread_count] = unread_count object.current_account
|
store[:unread_count] = unread_count object.current_account
|
||||||
store[:last_read_notification_id] = object.current_account.user.last_read_notification
|
store[:last_read_notification_id] = object.current_account.user.last_read_notification
|
||||||
|
Loading…
Reference in New Issue
Block a user