mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 00:06:05 -07:00
build
This commit is contained in:
parent
585bd0aab1
commit
d633049b7d
5 changed files with 10 additions and 22205 deletions
10552
src/Ombi/ClientApp/package-lock.json
generated
10552
src/Ombi/ClientApp/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -35,7 +35,6 @@
|
||||||
"angular-bootstrap-md": "^7.5.4",
|
"angular-bootstrap-md": "^7.5.4",
|
||||||
"angular-router-loader": "^0.8.5",
|
"angular-router-loader": "^0.8.5",
|
||||||
"angular2-template-loader": "^0.6.2",
|
"angular2-template-loader": "^0.6.2",
|
||||||
"angularx-qrcode": "^1.7.0-beta.5",
|
|
||||||
"aspnet-prerendering": "^3.0.1",
|
"aspnet-prerendering": "^3.0.1",
|
||||||
"awesome-typescript-loader": "^5.2.0",
|
"awesome-typescript-loader": "^5.2.0",
|
||||||
"bootstrap": "^4.2.1",
|
"bootstrap": "^4.2.1",
|
||||||
|
|
|
@ -14,8 +14,8 @@ export class UserPreferenceComponent implements OnInit {
|
||||||
public username: string;
|
public username: string;
|
||||||
public selectedLang: string;
|
public selectedLang: string;
|
||||||
public availableLanguages = AvailableLanguages;
|
public availableLanguages = AvailableLanguages;
|
||||||
public qrCode: string;
|
//public qrCode: string;
|
||||||
public qrCodeEnabled: boolean;
|
//public qrCodeEnabled: boolean;
|
||||||
|
|
||||||
constructor(private authService: AuthService,
|
constructor(private authService: AuthService,
|
||||||
private readonly translate: TranslateService,
|
private readonly translate: TranslateService,
|
||||||
|
@ -31,13 +31,13 @@ export class UserPreferenceComponent implements OnInit {
|
||||||
const customization = await this.settingsService.getCustomization().toPromise();
|
const customization = await this.settingsService.getCustomization().toPromise();
|
||||||
|
|
||||||
const accessToken = await this.identityService.getAccessToken().toPromise();
|
const accessToken = await this.identityService.getAccessToken().toPromise();
|
||||||
this.qrCode = `${customization.applicationUrl}|${accessToken}`;
|
//this.qrCode = `${customization.applicationUrl}|${accessToken}`;
|
||||||
|
|
||||||
if(!customization.applicationUrl) {
|
//if(!customization.applicationUrl) {
|
||||||
this.qrCodeEnabled = false;
|
// this.qrCodeEnabled = false;
|
||||||
} else {
|
//} else {
|
||||||
this.qrCodeEnabled = true;
|
// this.qrCodeEnabled = true;
|
||||||
}
|
//}
|
||||||
|
|
||||||
const selectedLang = this.storage.get("Language");
|
const selectedLang = this.storage.get("Language");
|
||||||
if (selectedLang) {
|
if (selectedLang) {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
import { RouterModule } from "@angular/router"
|
import { RouterModule } from "@angular/router"
|
||||||
import { QRCodeModule } from 'angularx-qrcode';
|
|
||||||
|
|
||||||
import { MatCheckboxModule } from '@angular/material';
|
import { MatCheckboxModule } from '@angular/material';
|
||||||
|
|
||||||
|
@ -13,7 +12,6 @@ import * as fromComponents from './components';
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild(fromComponents.routes),
|
RouterModule.forChild(fromComponents.routes),
|
||||||
SharedModule,
|
SharedModule,
|
||||||
QRCodeModule,
|
|
||||||
MatCheckboxModule,
|
MatCheckboxModule,
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
11640
src/Ombi/package-lock.json
generated
11640
src/Ombi/package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue