diff --git a/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.html b/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.html index e5af2c8..c6bc6b2 100644 --- a/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.html +++ b/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.html @@ -53,42 +53,13 @@
- - - - - - - - - - - - - -
{{ 'buttonSelectPartition' | translate }} - - - - - {{ column.header | translate }} - - {{ column.cell(image) }} - - - - - -
- {{ image.size }} MB - {{ image.size / 1024 }} GB -
-
- -
+ +
diff --git a/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.ts b/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.ts index 356aba4..783f574 100644 --- a/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.ts +++ b/ogWebconsole/src/app/components/commands/main-commands/execute-command/boot-so-partition/boot-so-partition.component.ts @@ -59,6 +59,10 @@ export class BootSoPartitionComponent implements OnInit { displayedColumns = ['select', ...this.columns.map(column => column.columnDef)]; + isPartitionDisabled = (partition: any): boolean => { + return !partition.operativeSystem; + }; + constructor( @Inject(MAT_DIALOG_DATA) public data: { clients: any }, private dialogRef: MatDialogRef,