mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
streams: Rename change_change_subscription_type to reference permissions.
This is a preparatory refactor for when we start having other permissions options available in this UI (e.g. announcement-only streams).
This commit is contained in:
@@ -383,7 +383,7 @@ function change_stream_privacy(e) {
|
||||
|
||||
// For auto update, without rendering whole template
|
||||
stream_data.update_calculated_fields(sub);
|
||||
if (!sub.can_change_subscription_type) {
|
||||
if (!sub.can_change_stream_permissions) {
|
||||
$(".change-stream-privacy").hide();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user