refresh() function used

This commit is contained in:
Drew Ansbacher
2022-02-18 13:23:26 -07:00
committed by Drew Ansbacher
parent 81b7d417fb
commit 4569c2a7f4
2 changed files with 6 additions and 2 deletions

View File

@@ -79,8 +79,8 @@
<h2>
<ion-text>
Please
<a (click)="(refresh)" href="#" )>refresh</a> if your drive does
not appear.
<a (click)="refresh()" style="cursor: pointer">refresh</a> if your
drive does not appear.
</ion-text>
</h2>
<br />

View File

@@ -235,6 +235,10 @@ export class BackupDrivesComponent {
loader.dismiss()
}
}
refresh() {
this.backupService.getBackupTargets()
}
}
@Component({