mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
more fixes
This commit is contained in:
committed by
Aiden McClelland
parent
2f918c198f
commit
5610ab135b
@@ -27,6 +27,17 @@ export class EmbassyPage {
|
||||
) { }
|
||||
|
||||
async ngOnInit () {
|
||||
await this.getDrives()
|
||||
}
|
||||
|
||||
async refresh () {
|
||||
this.storageDrives = []
|
||||
this.selectedDrive = null
|
||||
this.loading = true
|
||||
await this.getDrives()
|
||||
}
|
||||
|
||||
async getDrives () {
|
||||
try {
|
||||
this.storageDrives = await this.apiService.getDrives()
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user