mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
FIX: show leave channel notice only on group channels (#24653)
This commit is contained in:
parent
a1ae9f6ab0
commit
4fa1b0e978
@ -593,14 +593,13 @@ export default class ChatAboutScreen extends Component {
|
||||
/>
|
||||
</:action>
|
||||
</section.row>
|
||||
{{#unless @channel.isCategoryChannel}}
|
||||
{{#if @channel.chatable.group}}
|
||||
<div class="chat-channel-settings__leave-info">
|
||||
{{icon "exclamation-triangle"}}
|
||||
{{i18n "chat.channel_settings.leave_groupchat_info"}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
</form.section>
|
||||
|
||||
</ChatForm>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user