mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 16:46:12 +08:00
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:
parent
30e4b898f5
commit
250e3d881d
|
@ -1,3 +0,0 @@
|
|||
{{#if this.isDisplayed}}
|
||||
<ChannelsList @toggleSection={{this.toggleSection}} @inSidebar={{true}} />
|
||||
{{/if}}
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
<SidebarChannels @toggleSection={{this.toggleSection}} />
|
Loading…
Reference in New Issue
Block a user