From d294d38a14bed52671f7f5355ef4cf0187de5c1f Mon Sep 17 00:00:00 2001 From: TidusJar Date: Sat, 28 Oct 2017 22:48:42 +0100 Subject: [PATCH] Fixed #1641 --- src/Ombi/ClientApp/app/app.module.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Ombi/ClientApp/app/app.module.ts b/src/Ombi/ClientApp/app/app.module.ts index a877ac9de..1e5fe82e9 100644 --- a/src/Ombi/ClientApp/app/app.module.ts +++ b/src/Ombi/ClientApp/app/app.module.ts @@ -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], }, }), ],