From fdb572fadd34f67178f8ed2d3dd26b38021a0f2b Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Thu, 12 Jul 2018 11:13:09 +0300 Subject: [PATCH] (Toolbar) Removed unnecessary chat panel toggle method --- .../components/toolbar/toolbar.component.ts | 23 ------------------- 1 file changed, 23 deletions(-) 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 *