mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-02 05:23:14 +00:00
pr review
This commit is contained in:
committed by
Aiden McClelland
parent
bf9c046cd2
commit
5475f29408
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user