pull/1648/head^2
TidusJar 7 years ago
parent 7a9c538150
commit d294d38a14

@ -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…
Cancel
Save