A platform for community discussion. Free, open, simple.
FIX: removes discourse-teams-sidebar support (#22465)
Joffrey JAFFEUX250e3d881d6f
diff --git a/plugins/chat/assets/javascripts/discourse/components/sidebar-channels.hbs b/plugins/chat/assets/javascripts/discourse/components/sidebar-channels.hbsdeleted file mode 100644index c85ded54564..00000000000--- a/plugins/chat/assets/javascripts/discourse/components/sidebar-channels.hbs+++ /dev/null@@ -1,3 +0,0 @@-{{#if this.isDisplayed}}- <ChannelsList @toggleSection={{this.toggleSection}} @inSidebar={{true}} />-{{/if}}\ No newline at end of filediff --git a/plugins/chat/assets/javascripts/discourse/components/sidebar-channels.js b/plugins/chat/assets/javascripts/discourse/components/sidebar-channels.jsdeleted file mode 100644index d3d4fd515f7..00000000000--- a/plugins/chat/assets/javascripts/discourse/components/sidebar-channels.js+++ /dev/null@@ -1,16 +0,0 @@-import Component from "@ember/component";-import { computed } from "@ember/object";-import { inject as service } from "@ember/service";--export default class SidebarChannels extends Component {- @service chat;- @service router;-- tagName = "";- toggleSection = null;-- @computed("chat.userCanChat")- get isDisplayed() {- return this.chat.userCanChat;- }-}diff --git a/plugins/chat/assets/javascripts/discourse/connectors/sidebar-bottom/sidebar-connector.hbs b/plugins/chat/assets/javascripts/discourse/connectors/sidebar-bottom/sidebar-connector.hbsdeleted file mode 100644index fbc4d8f3cc5..00000000000--- a/plugins/chat/assets/javascripts/discourse/connectors/sidebar-bottom/sidebar-connector.hbs+++ /dev/null@@ -1 +0,0 @@-<SidebarChannels @toggleSection={{this.toggleSection}} />\ No newline at end of file