diff --git a/src/app/layout/components/toolbar/toolbar.component.ts b/src/app/layout/components/toolbar/toolbar.component.ts index 12ecf265..1c06dfcb 100644 --- a/src/app/layout/components/toolbar/toolbar.component.ts +++ b/src/app/layout/components/toolbar/toolbar.component.ts @@ -26,7 +26,6 @@ export class ToolbarComponent implements OnInit, OnDestroy selectedLanguage: any; showLoadingBar: boolean; userStatusOptions: any[]; - chatPanelLockedOpen: string; // Private private _unsubscribeAll: Subject; @@ -147,28 +146,6 @@ export class ToolbarComponent implements OnInit, OnDestroy this._fuseSidebarService.getSidebar(key).toggleOpen(); } - toggleChatPanel(): void - { - // Get the chat panel sidebar - const chatPanelSidebar = this._fuseSidebarService.getSidebar('chatPanel'); - - // Store the original value - if ( chatPanelSidebar.lockedOpen !== '' ) - { - this.chatPanelLockedOpen = chatPanelSidebar.lockedOpen; - } - - // Toggle - if ( chatPanelSidebar.lockedOpen === this.chatPanelLockedOpen ) - { - chatPanelSidebar.lockedOpen = ''; - } - else - { - chatPanelSidebar.lockedOpen = this.chatPanelLockedOpen; - } - } - /** * Search *