mirror of https://github.com/zulip/zulip.git
inbox_ui: Convert module to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
1fa6c707ce
commit
941e2ae5dc
|
@ -117,7 +117,7 @@ EXEMPT_FILES = make_set(
|
|||
"web/src/hashchange.js",
|
||||
"web/src/hbs.d.ts",
|
||||
"web/src/hotkey.js",
|
||||
"web/src/inbox_ui.js",
|
||||
"web/src/inbox_ui.ts",
|
||||
"web/src/inbox_util.ts",
|
||||
"web/src/info_overlay.ts",
|
||||
"web/src/information_density.ts",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -551,7 +551,7 @@ type ConversationContext = {
|
|||
topic: string;
|
||||
topic_url: string;
|
||||
mention_in_unread: boolean;
|
||||
visibility_policy: number | boolean;
|
||||
visibility_policy: number | false;
|
||||
all_visibility_policies: {
|
||||
INHERIT: number;
|
||||
MUTED: number;
|
||||
|
|
|
@ -70,7 +70,7 @@ export function update_user_topics(
|
|||
}
|
||||
}
|
||||
|
||||
export function get_topic_visibility_policy(stream_id: number, topic: string): number | boolean {
|
||||
export function get_topic_visibility_policy(stream_id: number, topic: string): number | false {
|
||||
if (stream_id === undefined) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue