mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
recipient_row: Fix empty string topic display in keyword search view.
Searching for a word that appears in a message in a empty string topic via the search box resulted in a message view where the topic names in the recipient_row were empty string instead of `realm_empty_topic_display_name`. This commit fixes that bug.
This commit is contained in:
committed by
Tim Abbott
parent
b0844109ca
commit
8383b11526
@@ -28,7 +28,7 @@
|
||||
<a class="message_label_clickable narrows_by_topic tippy-narrow-tooltip"
|
||||
href="{{topic_url}}"
|
||||
data-tippy-content="{{t 'Go to #{display_recipient} > {topic_display_name}' }}">
|
||||
{{#if use_match_properties}}
|
||||
{{#if (and use_match_properties (not is_empty_string_topic))}}
|
||||
<span class="stream-topic-inner">{{{match_topic}}}</span>
|
||||
{{else}}
|
||||
<span class="stream-topic-inner {{#if is_empty_string_topic}}empty-topic-display{{/if}}">{{topic_display_name}}</span>
|
||||
|
Reference in New Issue
Block a user