mirror of
https://github.com/discourse/discourse.git
synced 2025-06-20 06:58:20 +08:00
DEV: sidebarActive is not used anymore (#30268)
This was used in the past to show a chat sidebar when the core sidebar was not existing.
This commit is contained in:
@ -35,7 +35,6 @@ export default class Chat extends Service {
|
|||||||
|
|
||||||
cook = null;
|
cook = null;
|
||||||
presenceChannel = null;
|
presenceChannel = null;
|
||||||
sidebarActive = false;
|
|
||||||
isNetworkUnreliable = false;
|
isNetworkUnreliable = false;
|
||||||
|
|
||||||
@and("currentUser.has_chat_enabled", "siteSettings.chat_enabled") userCanChat;
|
@and("currentUser.has_chat_enabled", "siteSettings.chat_enabled") userCanChat;
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
<div id="chat-progress-bar-container"></div>
|
<div id="chat-progress-bar-container"></div>
|
||||||
|
|
||||||
{{#if this.chat.sidebarActive}}
|
|
||||||
<div class="full-page-chat teams-sidebar-on">
|
|
||||||
{{outlet}}
|
|
||||||
</div>
|
|
||||||
{{else}}
|
|
||||||
<div
|
<div
|
||||||
class={{concat-class
|
class={{concat-class
|
||||||
"full-page-chat"
|
"full-page-chat"
|
||||||
@ -25,4 +20,3 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
|
Reference in New Issue
Block a user