mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
recipient_row: Fix data-topic-name for general chat.
Since we know it's a topic header, we don't need a conditional here. And the one we'd had didn't distinguish `undefined` from `""`, and thus broke these controls for general chat.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{#if is_stream}}
|
||||
<div class="message_header message_header_stream right_part" data-stream-id="{{stream_id}}" {{#if topic}}data-topic-name="{{topic}}"{{/if}}>
|
||||
<div class="message_header message_header_stream right_part" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}">
|
||||
<div class="message-header-contents" style="background: {{recipient_bar_color}};">
|
||||
{{! stream link }}
|
||||
<a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
|
||||
|
Reference in New Issue
Block a user