UX general improvements
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details

pull/19/head
Manuel Aranda Rosales 2025-04-11 11:45:32 +02:00
parent 411491091b
commit 6a06e0a477
1 changed files with 6 additions and 6 deletions

View File

@ -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 }
});