Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Remove unsubscribe icon.
Aman Agrawala6e3a38e68fd
diff --git a/web/src/typeahead_helper.ts b/web/src/typeahead_helper.tsindex 8b78336def9..8056a3a4f7e 100644--- a/web/src/typeahead_helper.ts+++ b/web/src/typeahead_helper.ts@@ -99,7 +99,6 @@ export function render_typeahead_item(args: {pronouns?: string | undefined;is_user_group?: boolean;stream?: StreamData;- is_unsubscribed?: boolean;emoji_code?: string | undefined;}): string {const has_image = args.img_src !== undefined;@@ -173,7 +172,6 @@ export function render_stream(stream: StreamData): string {return render_typeahead_item({secondary_html: stream.rendered_description,stream,- is_unsubscribed: !stream.subscribed,});}diff --git a/web/styles/typeahead.css b/web/styles/typeahead.cssindex 72d50cb5fcc..a48baa9194d 100644--- a/web/styles/typeahead.css+++ b/web/styles/typeahead.css@@ -134,20 +134,6 @@gap: 0.25ch;font-weight: 500;}-- .active {- .unsubscribed_icon {- visibility: visible;- float: right;- margin-top: 5px;- color: hsl(96deg 7% 73%);- }- }-- .unsubscribed_icon {- visibility: hidden;- font-size: 0.8em;- }}.typeahead-option-label-container {diff --git a/web/templates/typeahead_list_item.hbs b/web/templates/typeahead_list_item.hbsindex b284a3aee91..0dd3038c150 100644--- a/web/templates/typeahead_list_item.hbs+++ b/web/templates/typeahead_list_item.hbs@@ -42,7 +42,3 @@</span>{{~/if}}</div>-{{#if is_unsubscribed}}- <span class="fa fa-exclamation-triangle unsubscribed_icon"- title="{{t 'You are not currently subscribed to this channel.' }}"></span>-{{/if}}