From cbd4cee9aacb2fa4dbc5e5d14ecf24b65c670ac7 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 11 Jun 2020 21:53:26 +0100 Subject: [PATCH] fixed some small issues on the ombi settings page --- .../src/app/settings/ombi/ombi.component.html | 16 +++---- .../src/app/settings/ombi/ombi.component.ts | 5 +- src/Ombi/ClientApp/src/tsconfig.app.json | 46 ++++++++++--------- 3 files changed, 35 insertions(+), 32 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html b/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html index 3f04fcffe..aed82c05f 100644 --- a/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html +++ b/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html @@ -6,15 +6,15 @@
- + Base URL - +
- + Api Key - + @@ -41,19 +41,19 @@
- + Allow us to collect anonymous analytical data e.g. browser used
-
+
- + -- {{lang.nativeName}} diff --git a/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.ts b/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.ts index 09b066682..51365fc94 100644 --- a/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.ts +++ b/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.ts @@ -5,7 +5,7 @@ import { ILanguageRefine, IOmbiSettings } from "../../interfaces"; import { NotificationService } from "../../services"; import { SettingsService } from "../../services"; -import * as languageData from "../../../other/iso-lang.json"; +import languageData from "./../../../other/iso-lang.json"; @Component({ templateUrl: "./ombi.component.html", @@ -33,7 +33,8 @@ export class OmbiComponent implements OnInit { disableHealthChecks: [x.disableHealthChecks] }); }); - this.langauges = languageData; + debugger; + this.langauges = languageData } public refreshApiKey() { diff --git a/src/Ombi/ClientApp/src/tsconfig.app.json b/src/Ombi/ClientApp/src/tsconfig.app.json index 62bc75321..1a0bba757 100644 --- a/src/Ombi/ClientApp/src/tsconfig.app.json +++ b/src/Ombi/ClientApp/src/tsconfig.app.json @@ -1,25 +1,27 @@ -{ - "compileOnSave": false, - "compilerOptions": { +{ + "compileOnSave": false, + "compilerOptions": { "baseUrl": "./", - "module": "esnext", - "outDir": "./dist/out-tsc", - "sourceMap": true, - "declaration": false, - "moduleResolution": "node", - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "target": "es5", - "types": ["node"], - "resolveJsonModule":true, - "typeRoots": [ - "node_modules/@types" - ], - "lib": [ - "es2017", - "dom" - ] - } , + "module": "esnext", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "target": "es5", + "types": ["node"], + "resolveJsonModule":true, + "allowSyntheticDefaultImports":true, + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "dom" + ] + } +, "files": [ "main.ts", "polyfills.ts" @@ -27,4 +29,4 @@ "include": [ "src/**/*.d.ts" ] -} +}