mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
pr review
This commit is contained in:
committed by
Drew Ansbacher
parent
13d9293f57
commit
a256a48776
@@ -14,7 +14,6 @@ export class EmbassyPage {
|
||||
storageDrives = []
|
||||
selectedDrive: DiskInfo = null
|
||||
loading = true
|
||||
window = window
|
||||
|
||||
constructor(
|
||||
private readonly apiService: ApiService,
|
||||
@@ -41,7 +40,6 @@ export class EmbassyPage {
|
||||
try {
|
||||
this.storageDrives = await this.apiService.getDrives()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
this.errorToastService.present(e.message)
|
||||
} finally {
|
||||
this.loading = false
|
||||
|
||||
@@ -15,7 +15,6 @@ export class RecoverPage {
|
||||
recoveryDrives = []
|
||||
selectedDrive: DiskInfo = null
|
||||
loading = true
|
||||
window = window
|
||||
|
||||
constructor(
|
||||
private readonly apiService: ApiService,
|
||||
@@ -40,7 +39,6 @@ export class RecoverPage {
|
||||
try {
|
||||
this.recoveryDrives = (await this.apiService.getDrives()).filter(d => !!d['embassy_os'])
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
this.errorToastService.present(e.message)
|
||||
} finally {
|
||||
this.loading = false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component } from '@angular/core'
|
||||
import { NavController, ToastController } from '@ionic/angular'
|
||||
import { ToastController } from '@ionic/angular'
|
||||
import { StateService } from 'src/app/services/state.service'
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -74,7 +74,6 @@ export class HttpService {
|
||||
}
|
||||
|
||||
function RpcError (e: RPCError['error']): void {
|
||||
console.log("error", e)
|
||||
const { code, message, data } = e
|
||||
|
||||
this.code = code
|
||||
|
||||
@@ -50,7 +50,6 @@ export class StateService {
|
||||
'recovery-logicalname': this.recoveryDrive?.logicalname,
|
||||
'recovery-password': this.recoveryPassword
|
||||
})
|
||||
console.log("return", ret)
|
||||
return { torAddress: ret['tor-address'] }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user