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:
Tim Abbott
2018-05-21 16:14:18 -07:00
parent 9df3480263
commit 106d06b235
5 changed files with 8 additions and 8 deletions

View File

@@ -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();
}
},