From 4c62d54b6b07a41bb7ca5f1662d84947021c1565 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 14 May 2024 21:47:53 +0700 Subject: [PATCH] Fix themeService not loaded --- frontend/src/app/components/app/app.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/components/app/app.component.ts b/frontend/src/app/components/app/app.component.ts index ace0122f0..9103017d2 100644 --- a/frontend/src/app/components/app/app.component.ts +++ b/frontend/src/app/components/app/app.component.ts @@ -4,6 +4,7 @@ import { Router, NavigationEnd } from '@angular/router'; import { StateService } from '../../services/state.service'; import { OpenGraphService } from '../../services/opengraph.service'; import { NgbTooltipConfig } from '@ng-bootstrap/ng-bootstrap'; +import { ThemeService } from '../../services/theme.service'; @Component({ selector: 'app-root', @@ -18,6 +19,7 @@ export class AppComponent implements OnInit { public router: Router, private stateService: StateService, private openGraphService: OpenGraphService, + private themeService: ThemeService, private location: Location, tooltipConfig: NgbTooltipConfig, @Inject(LOCALE_ID) private locale: string,