mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
subscription: Fix error in being re-subscribed to private stream.
Fixes #9023
This commit is contained in:
@@ -58,6 +58,9 @@ exports.hide_sub_settings = function (sub) {
|
||||
};
|
||||
|
||||
exports.show_sub_settings = function (sub) {
|
||||
if (!exports.is_sub_settings_active(sub)) {
|
||||
return;
|
||||
}
|
||||
var $settings = $(".subscription_settings[data-stream-id='" + sub.stream_id + "']");
|
||||
if ($settings.find(".email-address").val().length === 0) {
|
||||
// Rerender stream email address, if not.
|
||||
|
||||
Reference in New Issue
Block a user