|
|
|
@ -18,20 +18,18 @@ export class AppComponent implements OnInit, OnDestroy {
|
|
|
|
|
public appLogo: string = environment.appLogo; |
|
|
|
|
public themeClass: string; |
|
|
|
|
public isSidebarOpened = false; |
|
|
|
|
public devModeEnabled = !environment.production; |
|
|
|
|
private themeSubscription: Subscription; |
|
|
|
|
|
|
|
|
|
constructor( |
|
|
|
|
private titleService: Title, |
|
|
|
|
private themeService: ThemeService, |
|
|
|
|
private languageService: LanguageService |
|
|
|
|
) // private mockingService: MockingService
|
|
|
|
|
{} |
|
|
|
|
private languageService: LanguageService // private mockingService: MockingService
|
|
|
|
|
) {} |
|
|
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
if (!environment.production) { |
|
|
|
|
this.appTitle += ' [DEV]'; |
|
|
|
|
// TODO: to be removed
|
|
|
|
|
// this.mockingService.init();
|
|
|
|
|
} |
|
|
|
|
this.titleService.setTitle(this.appTitle); |
|
|
|
|
this.languageService.configureAndInitTranslations(); |
|
|
|
|