Skip to content

Commit e153aca

Browse files
committed
stream_popover: Advertise list of topics view.
1 parent 72b7fd5 commit e153aca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

web/src/stream_popover.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import type {Message} from "./message_store.ts";
2525
import * as message_util from "./message_util.ts";
2626
import * as message_view from "./message_view.ts";
2727
import * as narrow_state from "./narrow_state.ts";
28-
import {page_params} from "./page_params.ts";
2928
import * as popover_menus from "./popover_menus.ts";
3029
import {left_sidebar_tippy_options} from "./popover_menus.ts";
3130
import {web_channel_default_view_values} from "./settings_config.ts";
@@ -109,8 +108,7 @@ function build_stream_popover(opts: {elt: HTMLElement; stream_id: number}): void
109108
web_channel_default_view_values.channel_feed.code;
110109
const show_go_to_list_of_topics =
111110
user_settings.web_channel_default_view !==
112-
web_channel_default_view_values.list_of_topics.code &&
113-
page_params.development_environment;
111+
web_channel_default_view_values.list_of_topics.code;
114112
const stream_unread = unread.unread_count_info_for_stream(stream_id);
115113
const stream_unread_count = stream_unread.unmuted_count + stream_unread.muted_count;
116114
const has_unread_messages = stream_unread_count > 0;

0 commit comments

Comments
 (0)