diff --git a/src/app/main/apps/academy/academy.module.ts b/src/app/main/apps/academy/academy.module.ts index 08025d18..7006d992 100644 --- a/src/app/main/apps/academy/academy.module.ts +++ b/src/app/main/apps/academy/academy.module.ts @@ -11,7 +11,6 @@ import { AcademyCoursesService } from 'app/main/apps/academy/courses.service'; import { AcademyCourseService } from 'app/main/apps/academy/course.service'; import { FuseSidebarModule } from '@fuse/components'; - const routes = [ { path : 'courses', diff --git a/src/app/main/apps/academy/course/course.component.ts b/src/app/main/apps/academy/course/course.component.ts index 0171cd23..c9d4af8f 100644 --- a/src/app/main/apps/academy/course/course.component.ts +++ b/src/app/main/apps/academy/course/course.component.ts @@ -2,9 +2,9 @@ import { AfterViewInit, ChangeDetectorRef, Component, OnDestroy, OnInit, QueryLi import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; +import { fuseAnimations } from '@fuse/animations'; import { FusePerfectScrollbarDirective } from '@fuse/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive'; import { FuseSidebarService } from '@fuse/components/sidebar/sidebar.service'; -import { fuseAnimations } from '@fuse/animations'; import { AcademyCourseService } from 'app/main/apps/academy/course.service'; diff --git a/src/app/main/apps/mail-ngrx/mail.component.ts b/src/app/main/apps/mail-ngrx/mail.component.ts index 80d1b233..2b43c7e4 100644 --- a/src/app/main/apps/mail-ngrx/mail.component.ts +++ b/src/app/main/apps/mail-ngrx/mail.component.ts @@ -4,8 +4,8 @@ import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; +import { FuseSidebarService } from '@fuse/components/sidebar/sidebar.service'; import { FuseTranslationLoaderService } from '@fuse/services/translation-loader.service'; -import { FuseConfigService } from '@fuse/services/config.service'; import { Mail } from 'app/main/apps/mail-ngrx/mail.model'; import { MailNgrxService } from 'app/main/apps/mail-ngrx/mail.service'; @@ -13,7 +13,6 @@ import * as fromStore from 'app/main/apps/mail-ngrx/store'; import { locale as english } from 'app/main/apps/mail-ngrx/i18n/en'; import { locale as turkish } from 'app/main/apps/mail-ngrx/i18n/tr'; -import { FuseSidebarService } from '@fuse/components/sidebar/sidebar.service'; @Component({ selector : 'mail-ngrx', @@ -39,7 +38,6 @@ export class MailNgrxComponent implements OnInit, OnDestroy * Constructor * * @param {ChangeDetectorRef} _changeDetectorRef - * @param {FuseConfigService} _fuseConfigService * @param {FuseSidebarService} _fuseSidebarService * @param {FuseTranslationLoaderService} _fuseTranslationLoaderService * @param {MailNgrxService} _mailNgrxService @@ -47,18 +45,12 @@ export class MailNgrxComponent implements OnInit, OnDestroy */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseConfigService: FuseConfigService, private _fuseSidebarService: FuseSidebarService, private _fuseTranslationLoaderService: FuseTranslationLoaderService, private _mailNgrxService: MailNgrxService, private _store: Store ) { - // Configure the layout - this._fuseConfigService.config = { - routerAnimation: 'none' - }; - // Set the defaults this.searchInput = new FormControl(''); this._fuseTranslationLoaderService.loadTranslations(english, turkish); diff --git a/src/app/main/apps/mail/mail.component.ts b/src/app/main/apps/mail/mail.component.ts index c49b9e98..27ee6841 100644 --- a/src/app/main/apps/mail/mail.component.ts +++ b/src/app/main/apps/mail/mail.component.ts @@ -3,9 +3,8 @@ import { FormControl } from '@angular/forms'; import { Subject } from 'rxjs'; import { debounceTime, distinctUntilChanged, takeUntil } from 'rxjs/operators'; -import { FuseTranslationLoaderService } from '@fuse/services/translation-loader.service'; import { FuseSidebarService } from '@fuse/components/sidebar/sidebar.service'; -import { FuseConfigService } from '@fuse/services/config.service'; +import { FuseTranslationLoaderService } from '@fuse/services/translation-loader.service'; import { Mail } from 'app/main/apps/mail/mail.model'; import { MailService } from 'app/main/apps/mail/mail.service'; @@ -35,22 +34,15 @@ export class MailComponent implements OnInit, OnDestroy * Constructor * * @param {MailService} _mailService - * @param {FuseConfigService} _fuseConfigService * @param {FuseSidebarService} _fuseSidebarService * @param {FuseTranslationLoaderService} _fuseTranslationLoaderService */ constructor( private _mailService: MailService, - private _fuseConfigService: FuseConfigService, private _fuseSidebarService: FuseSidebarService, private _fuseTranslationLoaderService: FuseTranslationLoaderService ) { - // Configure the layout - this._fuseConfigService.config = { - routerAnimation: 'none' - }; - // Load the translations this._fuseTranslationLoaderService.loadTranslations(english, turkish);