Files
zulip/static/js
sahil839 37b4d07934 settings_data: Add 'user_can_create_streams' helper.
This commit adds 'user_can_create_streams' helper which is
used to check whether user can create streams or not and
replaces all the instances of 'page_params.can_create_streams'.

This change helps us to remove the complex logic of updating
'page_params.can_create_streams' for 'realm_update' event in
'server_events_dispatch.js', as we will always get the updated
values from the added helper for checking whether the users can
create streams or not.
2021-04-28 15:37:00 -07:00
..
2021-03-12 10:08:25 -08:00
2021-04-26 09:27:49 -07:00
2021-04-26 09:27:49 -07:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00