mirror of https://github.com/zulip/zulip.git
stream settings: Fix hide change-sub-type when admin unsubscribe stream.
Fixes #10163
This commit is contained in:
parent
29daf76420
commit
069acc08cd
|
@ -60,6 +60,9 @@ exports.hide_sub_settings = function (sub) {
|
|||
$settings.find(".regular_subscription_settings").removeClass('in');
|
||||
// Clear email address widget
|
||||
$settings.find(".email-address").html("");
|
||||
if (!sub.can_change_stream_permissions) {
|
||||
$settings.find(".change-stream-privacy").hide();
|
||||
}
|
||||
};
|
||||
|
||||
exports.show_sub_settings = function (sub) {
|
||||
|
|
Loading…
Reference in New Issue