Add ability for admins to force grouped notifications in web UI (#31610)
This commit is contained in:
parent
da42e9d446
commit
c73868cd78
9 changed files with 33 additions and 26 deletions
|
@ -109,6 +109,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
trends_as_landing_page: Setting.trends_as_landing_page,
|
||||
trends_enabled: Setting.trends,
|
||||
version: instance_presenter.version,
|
||||
force_grouped_notifications: ENV['FORCE_GROUPED_NOTIFICATIONS'] == 'true',
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue