Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

search_pill: Drop unreachable code.

Aman Agrawale9989b007c7b
diff --git a/web/src/search_pill.ts b/web/src/search_pill.ts
index 2eb8dfa5ad7..74bf66d7e97 100644
--- a/web/src/search_pill.ts
+++ b/web/src/search_pill.ts
@@ -81,9 +81,6 @@ export function get_search_string_from_item(item: SearchPill): string {
operand = util.get_final_topic_display_name(item.operand);
break;
case "channel":
- if (item.operand === "") {
- operand = "";
- }
operand = stream_data.get_valid_sub_by_id_string(item.operand).name;
break;
default: