diff --git a/src/@fuse/components/theme-options/theme-options.component.ts b/src/@fuse/components/theme-options/theme-options.component.ts index 65688a89..5d864e1c 100644 --- a/src/@fuse/components/theme-options/theme-options.component.ts +++ b/src/@fuse/components/theme-options/theme-options.component.ts @@ -8,7 +8,6 @@ import { FuseNavigationService } from '@fuse/components/navigation/navigation.se import { navigation } from 'app/navigation/navigation'; - @Component({ selector : 'fuse-theme-options', templateUrl: './theme-options.component.html', diff --git a/src/@fuse/components/theme-options/theme-options.module.ts b/src/@fuse/components/theme-options/theme-options.module.ts index 0d79a402..5aa58c8d 100644 --- a/src/@fuse/components/theme-options/theme-options.module.ts +++ b/src/@fuse/components/theme-options/theme-options.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { FlexLayoutModule } from '@angular/flex-layout'; -import { MatDividerModule, MatFormFieldModule, MatIconModule, MatOptionModule, MatRadioModule, MatSelectModule, MatSlideToggleModule } from '@angular/material'; +import { MatButtonModule, MatDividerModule, MatFormFieldModule, MatIconModule, MatOptionModule, MatRadioModule, MatSelectModule, MatSlideToggleModule } from '@angular/material'; import { FuseMaterialColorPickerModule } from '@fuse/components/material-color-picker/material-color-picker.module'; import { FuseThemeOptionsComponent } from '@fuse/components/theme-options/theme-options.component'; @@ -17,6 +17,7 @@ import { FuseThemeOptionsComponent } from '@fuse/components/theme-options/theme- FlexLayoutModule, + MatButtonModule, MatDividerModule, MatFormFieldModule, MatIconModule, diff --git a/src/@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.directive.ts b/src/@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.directive.ts index c6a0ad4d..df58a483 100644 --- a/src/@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.directive.ts +++ b/src/@fuse/directives/fuse-mat-sidenav/fuse-mat-sidenav.directive.ts @@ -12,9 +12,7 @@ import { FuseMatSidenavHelperService } from '@fuse/directives/fuse-mat-sidenav/f export class FuseMatSidenavHelperDirective implements OnInit, OnDestroy { matchMediaSubscription: Subscription; - @HostBinding('class.mat-is-locked-open') isLockedOpen = true; - @Input('fuseMatSidenavHelper') id: string; @Input('mat-is-locked-open') matIsLockedOpenBreakpoint: string; diff --git a/src/@fuse/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts b/src/@fuse/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts index 434c6b7f..3fd4be24 100644 --- a/src/@fuse/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts +++ b/src/@fuse/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts @@ -1,4 +1,4 @@ -import { AfterViewInit, Directive, ElementRef, HostListener, OnDestroy } from '@angular/core'; +import { AfterViewInit, Directive, ElementRef, HostListener, OnDestroy, OnInit } from '@angular/core'; import { Platform } from '@angular/cdk/platform'; import { Subscription } from 'rxjs/Subscription'; @@ -6,11 +6,10 @@ import PerfectScrollbar from 'perfect-scrollbar'; import { FuseConfigService } from '@fuse/services/config.service'; - @Directive({ selector: '[fusePerfectScrollbar]' }) -export class FusePerfectScrollbarDirective implements AfterViewInit, OnDestroy +export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnDestroy { onConfigChanged: Subscription; isDisableCustomScrollbars = false; @@ -23,14 +22,17 @@ export class FusePerfectScrollbarDirective implements AfterViewInit, OnDestroy private fuseConfig: FuseConfigService, private platform: Platform ) + { + } + + ngOnInit() { this.onConfigChanged = - this.fuseConfig.onConfigChanged - .subscribe( - (settings) => { - this.isDisableCustomScrollbars = !settings.customScrollbars; - } - ); + this.fuseConfig.onConfigChanged.subscribe( + (settings) => { + this.isDisableCustomScrollbars = !settings.customScrollbars; + } + ); if ( this.platform.ANDROID || this.platform.IOS ) { diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 159c4403..92291436 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -66,7 +66,7 @@ const appRoutes: Routes = [ }), // SharedModule, - MaterialModule, + // MaterialModule, // Fuse Main and Shared modules FuseModule.forRoot(fuseConfig), diff --git a/src/app/main/content/apps/academy/academy.module.ts b/src/app/main/content/apps/academy/academy.module.ts index f1110d21..e1935402 100644 --- a/src/app/main/content/apps/academy/academy.module.ts +++ b/src/app/main/content/apps/academy/academy.module.ts @@ -1,6 +1,8 @@ import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; +import { MatButtonModule, MatFormFieldModule, MatIconModule, MatInputModule, MatSelectModule, MatSidenavModule } from '@angular/material'; + import { FuseSharedModule } from '@fuse/shared.module'; import { FuseAcademyCoursesComponent } from './courses/courses.component'; @@ -30,14 +32,22 @@ const routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes) - ], declarations: [ FuseAcademyCoursesComponent, FuseAcademyCourseComponent ], + imports : [ + RouterModule.forChild(routes), + + MatButtonModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatSelectModule, + MatSidenavModule, + + FuseSharedModule + ], providers : [ AcademyCoursesService, AcademyCourseService diff --git a/src/app/main/content/apps/apps.module.ts b/src/app/main/content/apps/apps.module.ts index 7764c050..63671052 100644 --- a/src/app/main/content/apps/apps.module.ts +++ b/src/app/main/content/apps/apps.module.ts @@ -7,13 +7,13 @@ import { FuseSharedModule } from '@fuse/shared.module'; const routes = [ { - path : 'dashboards/project', - loadChildren: './dashboards/project/project.module#FuseProjectDashboardModule' - }, - /*{ path : 'dashboards/analytics', loadChildren: './dashboards/analytics/analytics.module#FuseAnalyticsDashboardModule' }, + { + path : 'dashboards/project', + loadChildren: './dashboards/project/project.module#FuseProjectDashboardModule' + }, { path : 'mail', loadChildren: './mail/mail.module#FuseMailModule' @@ -53,7 +53,7 @@ const routes = [ { path : 'scrumboard', loadChildren: './scrumboard/scrumboard.module#FuseScrumboardModule' - }*/ + } ]; @NgModule({ diff --git a/src/app/main/content/apps/calendar/calendar.module.ts b/src/app/main/content/apps/calendar/calendar.module.ts index 244fc50a..769f78d5 100644 --- a/src/app/main/content/apps/calendar/calendar.module.ts +++ b/src/app/main/content/apps/calendar/calendar.module.ts @@ -1,10 +1,15 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { MatButtonModule, MatDatepickerModule, MatFormFieldModule, MatIconModule, MatInputModule, MatSlideToggleModule, MatToolbarModule } from '@angular/material'; + +import { CalendarModule } from 'angular-calendar'; +import { ColorPickerModule } from 'ngx-color-picker'; + import { FuseSharedModule } from '@fuse/shared.module'; +import { FuseConfirmDialogModule } from '@fuse/components'; import { CalendarService } from './calendar.service'; -import { CalendarModule } from 'angular-calendar'; import { FuseCalendarComponent } from './calendar.component'; import { FuseCalendarEventFormDialogComponent } from './event-form/event-form.component'; @@ -20,15 +25,27 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes), - CalendarModule.forRoot() - ], declarations : [ FuseCalendarComponent, FuseCalendarEventFormDialogComponent ], + imports : [ + RouterModule.forChild(routes), + + MatButtonModule, + MatDatepickerModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatSlideToggleModule, + MatToolbarModule, + + CalendarModule.forRoot(), + ColorPickerModule, + + FuseSharedModule, + FuseConfirmDialogModule + ], providers : [ CalendarService ], diff --git a/src/app/main/content/apps/chat/chat.module.ts b/src/app/main/content/apps/chat/chat.module.ts index cd4a714c..2b80c69b 100644 --- a/src/app/main/content/apps/chat/chat.module.ts +++ b/src/app/main/content/apps/chat/chat.module.ts @@ -1,10 +1,12 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { MatButtonModule, MatCardModule, MatFormFieldModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatRadioModule, MatSidenavModule, MatToolbarModule } from '@angular/material'; + import { FuseSharedModule } from '@fuse/shared.module'; -import { FuseChatComponent } from './chat.component'; import { ChatService } from './chat.service'; +import { FuseChatComponent } from './chat.component'; import { FuseChatViewComponent } from './chat-view/chat-view.component'; import { FuseChatStartComponent } from './chat-start/chat-start.component'; import { FuseChatChatsSidenavComponent } from './sidenavs/left/chats/chats.component'; @@ -25,10 +27,6 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes) - ], declarations: [ FuseChatComponent, FuseChatViewComponent, @@ -39,6 +37,22 @@ const routes: Routes = [ FuseChatRightSidenavComponent, FuseChatContactSidenavComponent ], + imports : [ + RouterModule.forChild(routes), + + MatButtonModule, + MatCardModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatListModule, + MatMenuModule, + MatRadioModule, + MatSidenavModule, + MatToolbarModule, + + FuseSharedModule + ], providers : [ ChatService ] diff --git a/src/app/main/content/apps/contacts/contacts.module.ts b/src/app/main/content/apps/contacts/contacts.module.ts index 45a02229..fd3a1a5a 100644 --- a/src/app/main/content/apps/contacts/contacts.module.ts +++ b/src/app/main/content/apps/contacts/contacts.module.ts @@ -1,7 +1,11 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { CdkTableModule } from '@angular/cdk/table'; + +import { MatButtonModule, MatCheckboxModule, MatDatepickerModule, MatFormFieldModule, MatIconModule, MatInputModule, MatMenuModule, MatRippleModule, MatSidenavModule, MatTableModule, MatToolbarModule } from '@angular/material'; import { FuseSharedModule } from '@fuse/shared.module'; +import { FuseConfirmDialogModule } from '@fuse/components'; import { FuseContactsMainSidenavComponent } from './sidenavs/main/main.component'; import { FuseContactsComponent } from './contacts.component'; @@ -21,10 +25,6 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes) - ], declarations : [ FuseContactsComponent, FuseContactsContactListComponent, @@ -32,6 +32,25 @@ const routes: Routes = [ FuseContactsMainSidenavComponent, FuseContactsContactFormDialogComponent ], + imports : [ + RouterModule.forChild(routes), + CdkTableModule, + + MatButtonModule, + MatCheckboxModule, + MatDatepickerModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatMenuModule, + MatRippleModule, + MatSidenavModule, + MatTableModule, + MatToolbarModule, + + FuseSharedModule, + FuseConfirmDialogModule + ], providers : [ ContactsService ], diff --git a/src/app/main/content/apps/dashboards/analytics/analytics.module.ts b/src/app/main/content/apps/dashboards/analytics/analytics.module.ts index 6a5eebf6..819966d1 100644 --- a/src/app/main/content/apps/dashboards/analytics/analytics.module.ts +++ b/src/app/main/content/apps/dashboards/analytics/analytics.module.ts @@ -1,8 +1,11 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; -import { NgxChartsModule } from '@swimlane/ngx-charts'; +import { MatFormFieldModule, MatIconModule, MatMenuModule, MatSelectModule, MatTabsModule } from '@angular/material'; + import { AgmCoreModule } from '@agm/core'; +import { ChartsModule } from 'ng2-charts'; +import { NgxChartsModule } from '@swimlane/ngx-charts'; import { FuseSharedModule } from '@fuse/shared.module'; import { FuseWidgetModule } from '@fuse/components/widget/widget.module'; @@ -22,18 +25,27 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes), - FuseWidgetModule, - NgxChartsModule, - AgmCoreModule.forRoot({ - apiKey: 'AIzaSyD81ecsCj4yYpcXSLFcYU97PvRsE_X8Bx8' - }) - ], declarations: [ FuseAnalyticsDashboardComponent ], + imports : [ + RouterModule.forChild(routes), + + MatFormFieldModule, + MatIconModule, + MatMenuModule, + MatSelectModule, + MatTabsModule, + + AgmCoreModule.forRoot({ + apiKey: 'AIzaSyD81ecsCj4yYpcXSLFcYU97PvRsE_X8Bx8' + }), + ChartsModule, + NgxChartsModule, + + FuseSharedModule, + FuseWidgetModule + ], providers : [ AnalyticsDashboardService ] diff --git a/src/app/main/content/apps/dashboards/project/project.module.ts b/src/app/main/content/apps/dashboards/project/project.module.ts index b806b353..23dcf8d9 100644 --- a/src/app/main/content/apps/dashboards/project/project.module.ts +++ b/src/app/main/content/apps/dashboards/project/project.module.ts @@ -1,5 +1,8 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { CdkTableModule } from '@angular/cdk/table'; + +import { MatButtonModule, MatDividerModule, MatFormFieldModule, MatIconModule, MatMenuModule, MatSelectModule, MatSidenavModule, MatTableModule, MatTabsModule } from '@angular/material'; import { NgxChartsModule } from '@swimlane/ngx-charts'; @@ -8,7 +11,6 @@ import { FuseWidgetModule } from '@fuse/components/widget/widget.module'; import { FuseProjectDashboardComponent } from './project.component'; import { ProjectDashboardService } from './project.service'; -import { MaterialModule } from '@fuse/modules/material.module'; const routes: Routes = [ { @@ -21,16 +23,28 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - RouterModule.forChild(routes), - FuseSharedModule, - MaterialModule, - FuseWidgetModule, - NgxChartsModule - ], declarations: [ FuseProjectDashboardComponent ], + imports : [ + RouterModule.forChild(routes), + + CdkTableModule, + MatButtonModule, + MatDividerModule, + MatFormFieldModule, + MatIconModule, + MatMenuModule, + MatSelectModule, + MatSidenavModule, + MatTableModule, + MatTabsModule, + + NgxChartsModule, + + FuseSharedModule, + FuseWidgetModule + ], providers : [ ProjectDashboardService ] diff --git a/src/app/main/content/apps/e-commerce/e-commerce.module.ts b/src/app/main/content/apps/e-commerce/e-commerce.module.ts index 8052f814..665fba62 100644 --- a/src/app/main/content/apps/e-commerce/e-commerce.module.ts +++ b/src/app/main/content/apps/e-commerce/e-commerce.module.ts @@ -1,5 +1,8 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { CdkTableModule } from '@angular/cdk/table'; + +import { MatButtonModule, MatChipsModule, MatFormFieldModule, MatIconModule, MatInputModule, MatPaginatorModule, MatSelectModule, MatSortModule, MatTableModule, MatTabsModule } from '@angular/material'; import { NgxChartsModule } from '@swimlane/ngx-charts'; import { AgmCoreModule } from '@agm/core'; @@ -64,15 +67,6 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes), - FuseWidgetModule, - NgxChartsModule, - AgmCoreModule.forRoot({ - apiKey: 'AIzaSyD81ecsCj4yYpcXSLFcYU97PvRsE_X8Bx8' - }) - ], declarations: [ FuseEcommerceDashboardComponent, FuseEcommerceProductsComponent, @@ -80,6 +74,29 @@ const routes: Routes = [ FuseEcommerceOrdersComponent, FuseEcommerceOrderComponent ], + imports : [ + RouterModule.forChild(routes), + + CdkTableModule, + MatButtonModule, + MatChipsModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatPaginatorModule, + MatSelectModule, + MatSortModule, + MatTableModule, + MatTabsModule, + + NgxChartsModule, + AgmCoreModule.forRoot({ + apiKey: 'AIzaSyD81ecsCj4yYpcXSLFcYU97PvRsE_X8Bx8' + }), + + FuseSharedModule, + FuseWidgetModule, + ], providers : [ EcommerceDashboardService, EcommerceProductsService, diff --git a/src/app/main/content/apps/file-manager/file-manager.module.ts b/src/app/main/content/apps/file-manager/file-manager.module.ts index 5273f344..738e82fd 100644 --- a/src/app/main/content/apps/file-manager/file-manager.module.ts +++ b/src/app/main/content/apps/file-manager/file-manager.module.ts @@ -1,5 +1,8 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { CdkTableModule } from '@angular/cdk/table'; + +import { MatButtonModule, MatIconModule, MatSidenavModule, MatSlideToggleModule, MatTableModule } from '@angular/material'; import { FuseSharedModule } from '@fuse/shared.module'; @@ -21,16 +24,24 @@ const routes: Routes = [ ]; @NgModule({ - imports : [ - FuseSharedModule, - RouterModule.forChild(routes) - ], declarations: [ FuseFileManagerComponent, FuseFileManagerFileListComponent, FuseFileManagerMainSidenavComponent, FuseFileManagerDetailsSidenavComponent ], + imports : [ + RouterModule.forChild(routes), + + CdkTableModule, + MatButtonModule, + MatIconModule, + MatSlideToggleModule, + MatSidenavModule, + MatTableModule, + + FuseSharedModule + ], providers : [ FileManagerService ] diff --git a/src/app/main/content/apps/mail-ngrx/mail.module.ts b/src/app/main/content/apps/mail-ngrx/mail.module.ts index 33f79a0a..3f79d5f6 100644 --- a/src/app/main/content/apps/mail-ngrx/mail.module.ts +++ b/src/app/main/content/apps/mail-ngrx/mail.module.ts @@ -1,8 +1,15 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { MatButtonModule, MatCheckboxModule, MatDialogModule, MatFormFieldModule, MatIconModule, MatInputModule, MatMenuModule, MatSelectModule, MatSidenavModule, MatToolbarModule } from '@angular/material'; + +import { TranslateModule } from '@ngx-translate/core'; + import { FuseSharedModule } from '@fuse/shared.module'; +import { MailAppStoreModule } from './store/store.module'; +import * as fromGuards from './store/guards/index'; + import { FuseMailNgrxComponent } from './mail.component'; import { FuseMailNgrxMainSidenavComponent } from './sidenavs/main/main-sidenav.component'; import { FuseMailNgrxListItemComponent } from './mail-list/mail-list-item/mail-list-item.component'; @@ -10,8 +17,6 @@ import { FuseMailNgrxListComponent } from './mail-list/mail-list.component'; import { FuseMailNgrxDetailsComponent } from './mail-details/mail-details.component'; import { MailNgrxService } from './mail.service'; import { FuseMailNgrxComposeDialogComponent } from './dialogs/compose/compose.component'; -import * as fromGuards from './store/guards/index'; -import { MailAppStoreModule } from './store/store.module'; const routes: Routes = [ { @@ -60,8 +65,23 @@ const routes: Routes = [ FuseMailNgrxComposeDialogComponent ], imports : [ - FuseSharedModule, RouterModule.forChild(routes), + + MatButtonModule, + MatCheckboxModule, + MatDialogModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatMenuModule, + MatSelectModule, + MatSidenavModule, + MatToolbarModule, + + TranslateModule, + + FuseSharedModule, + MailAppStoreModule ], providers : [ diff --git a/src/app/main/content/apps/mail/mail-list/mail-list-item/mail-list-item.component.html b/src/app/main/content/apps/mail/mail-list/mail-list-item/mail-list-item.component.html index 2ed29aab..5d8e3c14 100644 --- a/src/app/main/content/apps/mail/mail-list/mail-list-item/mail-list-item.component.html +++ b/src/app/main/content/apps/mail/mail-list/mail-list-item/mail-list-item.component.html @@ -18,21 +18,6 @@
{{mail.time}}
- - diff --git a/src/app/main/content/apps/mail/mail.module.ts b/src/app/main/content/apps/mail/mail.module.ts index e8a506ee..6ba68da1 100644 --- a/src/app/main/content/apps/mail/mail.module.ts +++ b/src/app/main/content/apps/mail/mail.module.ts @@ -1,6 +1,10 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { MatButtonModule, MatCheckboxModule, MatDialogModule, MatFormFieldModule, MatIconModule, MatInputModule, MatMenuModule, MatSelectModule, MatSidenavModule, MatToolbarModule } from '@angular/material'; + +import { TranslateModule } from '@ngx-translate/core'; + import { FuseSharedModule } from '@fuse/shared.module'; import { MailService } from './mail.service'; @@ -70,8 +74,22 @@ const routes: Routes = [ FuseMailComposeDialogComponent ], imports : [ - FuseSharedModule, - RouterModule.forChild(routes) + RouterModule.forChild(routes), + + MatButtonModule, + MatCheckboxModule, + MatDialogModule, + MatFormFieldModule, + MatIconModule, + MatInputModule, + MatMenuModule, + MatSelectModule, + MatSidenavModule, + MatToolbarModule, + + TranslateModule, + + FuseSharedModule ], providers : [ MailService diff --git a/src/app/main/content/apps/scrumboard/board/list/card/card.component.html b/src/app/main/content/apps/scrumboard/board/list/card/card.component.html index a852891d..b743a474 100644 --- a/src/app/main/content/apps/scrumboard/board/list/card/card.component.html +++ b/src/app/main/content/apps/scrumboard/board/list/card/card.component.html @@ -17,7 +17,7 @@
+ fxLayout="row" fxLayoutWrap> { + this.fusePerfectScrollbarUpdateTimeout = setTimeout(() => { + this.fusePerfectScrollbar.update(); + }, 310); + }); + } + @Input() layout; navigation: any; navigationServiceWatcher: Subscription; @@ -31,19 +44,19 @@ export class FuseNavbarComponent implements OnDestroy // Default layout this.layout = 'vertical'; - - this.navigationServiceWatcher = - this.navigationService.onItemCollapseToggled.subscribe(() => { - this.fusePerfectScrollbarUpdateTimeout = setTimeout(() => { - this.fusePerfectScrollbarDirective.update(); - }, 310); - }); } ngOnDestroy() { - clearTimeout(this.fusePerfectScrollbarUpdateTimeout); - this.navigationServiceWatcher.unsubscribe(); + if ( this.fusePerfectScrollbarUpdateTimeout ) + { + clearTimeout(this.fusePerfectScrollbarUpdateTimeout); + } + + if ( this.navigationServiceWatcher ) + { + this.navigationServiceWatcher.unsubscribe(); + } } toggleSidebarOpened(key)