From 7bd65006d760886b261f0587fafe28443bf2d3ec Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Wed, 17 Jul 2024 17:12:06 -0300 Subject: [PATCH] UX: Remove desktopView only checks for chat --- .../components/channels-list-direct.gjs | 31 ------------------- .../components/channels-list-public.gjs | 27 ---------------- 2 files changed, 58 deletions(-) diff --git a/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs b/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs index c58745a6288..599f0413faf 100644 --- a/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs +++ b/plugins/chat/assets/javascripts/discourse/components/channels-list-direct.gjs @@ -67,37 +67,6 @@ export default class ChannelsListDirect extends Component { @outletArgs={{hash inSidebar=this.inSidebar}} /> - {{#if (and this.showDirectMessageChannels this.site.desktopView)}} -
- {{#if this.inSidebar}} - - {{dIcon "angle-up"}} - - {{/if}} - - {{i18n "chat.direct_messages.title"}} - - {{#if this.canCreateDirectMessageChannel}} - - {{/if}} -
- {{/if}} -
{{/if}} - {{#if (and this.displayPublicChannels this.site.desktopView)}} -
- {{#if this.inSidebar}} - - {{dIcon "angle-up"}} - - {{/if}} - - {{i18n "chat.chat_channels"}} - - - {{dIcon "pencil-alt"}} - -
- {{/if}} -