FIX: removes discourse-teams-sidebar support (#22465)

This plugin is now archived we don't need to carry this code anymore.
This commit is contained in:
Joffrey JAFFEUX 2023-07-06 15:40:24 +02:00 committed by GitHub
parent 30e4b898f5
commit 250e3d881d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 20 deletions

View File

@ -1,3 +0,0 @@
{{#if this.isDisplayed}}
<ChannelsList @toggleSection={{this.toggleSection}} @inSidebar={{true}} />
{{/if}}

View File

@ -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;
}
}

View File

@ -1 +0,0 @@
<SidebarChannels @toggleSection={{this.toggleSection}} />