Stage to checkout ogboot
parent
2d6785198f
commit
87a82456fc
|
@ -85,6 +85,14 @@ export class OgDhcpSubnetsComponent {
|
||||||
|
|
||||||
editSubnet(subnet: Subnet) {
|
editSubnet(subnet: Subnet) {
|
||||||
console.log('Editando subnet:', subnet);
|
console.log('Editando subnet:', subnet);
|
||||||
|
const dialogRef = this.dialog.open(CreateSubnetComponent, {
|
||||||
|
width: '400px',
|
||||||
|
data: { subnet } // Pasa los datos de la subred al modal
|
||||||
|
});
|
||||||
|
|
||||||
|
dialogRef.afterClosed().subscribe(result => {
|
||||||
|
console.log('The dialog was closed');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteSubnet(subnet: Subnet): void {
|
deleteSubnet(subnet: Subnet): void {
|
||||||
|
|
Loading…
Reference in New Issue