refs #1089. Partition assistant. Added back button
parent
a9afb951e2
commit
0550c1b25d
|
@ -1,4 +1,5 @@
|
|||
<div class="header-container">
|
||||
<button mat-flat-button color="primary" (click)="back()">Volver</button>
|
||||
<h2 class="title" i18n="@@subnetsTitle">Asistente de particionado</h2>
|
||||
<div class="subnets-button-row">
|
||||
<button mat-flat-button color="primary" [disabled]="data.status === 'busy'" (click)="save()">Ejecutar</button>
|
||||
|
|
|
@ -250,6 +250,10 @@ export class PartitionAssistantComponent implements OnInit {
|
|||
return modifiedPartitions;
|
||||
}
|
||||
|
||||
back() {
|
||||
this.router.navigate(['clients', this.data.uuid], { state: { clientData: this.data } });
|
||||
}
|
||||
|
||||
save() {
|
||||
if (!this.selectedDisk) {
|
||||
this.errorMessage = 'Por favor selecciona un disco antes de guardar.';
|
||||
|
|
Loading…
Reference in New Issue