sw build errors

This commit is contained in:
Drew Ansbacher
2021-09-07 01:03:02 +03:00
committed by Aiden McClelland
parent e3654d574a
commit 73d7d3f855
5 changed files with 7 additions and 4 deletions

View File

@@ -8,7 +8,8 @@
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"lint": "ng lint" "lint": "ng lint",
"build-prod": "ng build --prod"
}, },
"dependencies": { "dependencies": {
"@angular/common": "^12.2.1", "@angular/common": "^12.2.1",

View File

@@ -1,5 +1,5 @@
import { Component } from '@angular/core' import { Component } from '@angular/core'
import { AlertController, iosTransitionAnimation, LoadingController, ModalController, NavController } from '@ionic/angular' import { iosTransitionAnimation, LoadingController, ModalController, NavController } from '@ionic/angular'
import { ApiService, EmbassyDrive } from 'src/app/services/api/api.service' import { ApiService, EmbassyDrive } from 'src/app/services/api/api.service'
import { StateService } from 'src/app/services/state.service' import { StateService } from 'src/app/services/state.service'
import { PasswordPage } from '../password/password.page' import { PasswordPage } from '../password/password.page'
@@ -13,6 +13,7 @@ export class EmbassyPage {
embassyDrives = [] embassyDrives = []
selectedDrive: EmbassyDrive = null selectedDrive: EmbassyDrive = null
loading = true loading = true
window = window
constructor( constructor(
private readonly apiService: ApiService, private readonly apiService: ApiService,

View File

@@ -9,7 +9,7 @@ import { StateService } from 'src/app/services/state.service'
}) })
export class LoadingPage { export class LoadingPage {
constructor( constructor(
private stateService: StateService, public stateService: StateService,
private navCtrl: NavController private navCtrl: NavController
) {} ) {}

View File

@@ -14,6 +14,7 @@ export class RecoverPage {
recoveryDrives = [] recoveryDrives = []
selectedDrive: RecoveryDrive = null selectedDrive: RecoveryDrive = null
loading = true loading = true
window = window
constructor( constructor(
private readonly apiService: ApiService, private readonly apiService: ApiService,

View File

@@ -19,7 +19,7 @@
<p>{{ stateService.torAddress }}</p> <p>{{ stateService.torAddress }}</p>
</ion-label> </ion-label>
<ion-buttons slot="end"> <ion-buttons slot="end">
<ion-button fill="clear" (click)="copy(lan)"> <ion-button fill="clear" (click)="copy()">
<ion-icon size="small" slot="icon-only" name="copy-outline"></ion-icon> <ion-icon size="small" slot="icon-only" name="copy-outline"></ion-icon>
</ion-button> </ion-button>
</ion-buttons> </ion-buttons>