mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
left_sidebar: Show PM section in topics zoomed view.
This is important to preserve the invariant that the unread count for private messages is always visible. Fixes #23391.
This commit is contained in:
@@ -274,16 +274,9 @@ export function zoom_in_topics(options) {
|
||||
$elt.hide();
|
||||
}
|
||||
});
|
||||
|
||||
// we also need to hide the PM section and allow
|
||||
// stream list to take complete left-sidebar in zoomedIn view.
|
||||
$(".private_messages_container").hide();
|
||||
}
|
||||
|
||||
export function zoom_out_topics() {
|
||||
// Show PM section
|
||||
$(".private_messages_container").show();
|
||||
|
||||
// Show stream list titles and pinned stream splitter
|
||||
$(".stream-filters-label").each(function () {
|
||||
$(this).show();
|
||||
|
||||
Reference in New Issue
Block a user