mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed #1641
This commit is contained in:
parent
7a9c538150
commit
d294d38a14
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
import {PlatformLocation} from "@angular/common";
|
||||
import {CommonModule, PlatformLocation} from "@angular/common";
|
||||
import {HttpClient, HttpClientModule} from "@angular/common/http";
|
||||
import {NgModule} from "@angular/core";
|
||||
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
|
||||
|
@ -92,12 +92,13 @@ export function HttpLoaderFactory(http: HttpClient, platformLocation: PlatformLo
|
|||
RequestsModule,
|
||||
CaptchaModule,
|
||||
TooltipModule,
|
||||
ConfirmDialogModule,
|
||||
ConfirmDialogModule,
|
||||
CommonModule,
|
||||
TranslateModule.forRoot({
|
||||
loader: {
|
||||
provide: TranslateLoader,
|
||||
useFactory: HttpLoaderFactory,
|
||||
deps: [HttpClient],
|
||||
deps: [HttpClient, PlatformLocation],
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue