mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
left_sidebar: Remove logic of hiding unread counter of STREAMS header.
This removes the previous logic where the STREAMS header unread counter was hidden when "Show unread counts for" was set to "No streams."
This commit is contained in:
@@ -644,12 +644,6 @@ export function update_dom_with_unread_counts(counts: FullUnreadCountsData): voi
|
||||
}
|
||||
|
||||
export function update_dom_unread_counts_visibility(): void {
|
||||
const $streams_header = $("#streams_header");
|
||||
if (settings_data.should_mask_unread_count(false)) {
|
||||
$streams_header.addClass("hide_unread_counts");
|
||||
} else {
|
||||
$streams_header.removeClass("hide_unread_counts");
|
||||
}
|
||||
for (const stream of stream_sidebar.rows.values()) {
|
||||
const $subscription_block = stream.get_li().find(".subscription_block");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user