mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-29 19:18:30 -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 {HttpClient, HttpClientModule} from "@angular/common/http";
|
||||||
import {NgModule} from "@angular/core";
|
import {NgModule} from "@angular/core";
|
||||||
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
|
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
|
||||||
|
@ -92,12 +92,13 @@ export function HttpLoaderFactory(http: HttpClient, platformLocation: PlatformLo
|
||||||
RequestsModule,
|
RequestsModule,
|
||||||
CaptchaModule,
|
CaptchaModule,
|
||||||
TooltipModule,
|
TooltipModule,
|
||||||
ConfirmDialogModule,
|
ConfirmDialogModule,
|
||||||
|
CommonModule,
|
||||||
TranslateModule.forRoot({
|
TranslateModule.forRoot({
|
||||||
loader: {
|
loader: {
|
||||||
provide: TranslateLoader,
|
provide: TranslateLoader,
|
||||||
useFactory: HttpLoaderFactory,
|
useFactory: HttpLoaderFactory,
|
||||||
deps: [HttpClient],
|
deps: [HttpClient, PlatformLocation],
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue