mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
stream_settings: Fix invisible view stream btn for private streams.
If new stream is created as one of the two private options, the view stream button was not visible immediately, but does appear after a page refresh. This bug turns out to be caused by the wrong selector being used in the code intended to make the button visible. Fixes: #22556.
This commit is contained in:
@@ -303,7 +303,7 @@ export function update_settings_for_subscribed(slim_sub) {
|
||||
const sub = stream_settings_data.get_sub_for_settings(slim_sub);
|
||||
stream_ui_updates.update_add_subscriptions_elements(sub);
|
||||
$(
|
||||
`.subscription_settings[data-stream-id='${CSS.escape(
|
||||
`.stream_settings_header[data-stream-id='${CSS.escape(
|
||||
sub.stream_id,
|
||||
)}'] #preview-stream-button`,
|
||||
).show();
|
||||
|
||||
Reference in New Issue
Block a user