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>
|
</:action>
|
||||||
</section.row>
|
</section.row>
|
||||||
{{#unless @channel.isCategoryChannel}}
|
{{#if @channel.chatable.group}}
|
||||||
<div class="chat-channel-settings__leave-info">
|
<div class="chat-channel-settings__leave-info">
|
||||||
{{icon "exclamation-triangle"}}
|
{{icon "exclamation-triangle"}}
|
||||||
{{i18n "chat.channel_settings.leave_groupchat_info"}}
|
{{i18n "chat.channel_settings.leave_groupchat_info"}}
|
||||||
</div>
|
</div>
|
||||||
{{/unless}}
|
{{/if}}
|
||||||
</form.section>
|
</form.section>
|
||||||
|
|
||||||
</ChatForm>
|
</ChatForm>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue