diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets.component.ts b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets.component.ts index 31d15e6..cd14ce3 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets.component.ts +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets.component.ts @@ -95,8 +95,8 @@ export class OgDhcpSubnetsComponent implements OnInit { const timeoutId = setTimeout(() => { this.loading = false; this.toastService.error('Error al sincronizar: tiempo de espera agotado'); - }, 3500); - + }, 3500); + this.http.post(`${this.apiUrl}/sync`, {}).subscribe({ next: (response) => { clearTimeout(timeoutId); @@ -223,10 +223,10 @@ export class OgDhcpSubnetsComponent implements OnInit { openShowClientsDialog(subnet: Subnet) { const dialogRef = this.dialog.open(ShowClientsComponent, { - width: '100vw', - height: '100vh', - maxWidth: '100vw', - maxHeight: '100vh', + width: '85vw', + height: '85vh', + maxWidth: '85vw', + maxHeight: '85vh', data: { subnetId: subnet.id, subnetName: subnet.name, subnetUuid: subnet.uuid } });