mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
drafts: Add placeholder text for drafts with no channel selected.
This commit handles the empty channel placeholder for drafts saved without a channel selected. When these drafts also do not have a topic, we display "No topic selected" in tandem with "No channel selected", since we are unable to access the channel configuration to determine if we should display realm_empty_topic_display_name.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
{{#if stream_name}}
|
||||
{{stream_name}}
|
||||
{{else}}
|
||||
|
||||
<span class="drafts-unknown-msg-header-field">{{t "No channel selected" }}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
<span class="stream_topic_separator"><i class="zulip-icon zulip-icon-chevron-right"></i></span>
|
||||
|
Reference in New Issue
Block a user