From fccbb26dac74283ee4e4160a981d4cc80b3f9bdd Mon Sep 17 00:00:00 2001 From: Manuel Aranda Date: Mon, 20 Apr 2026 11:45:17 +0200 Subject: [PATCH] refs #2970. Fixed bug in repo --- .../manage-repository/manage-repository.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ogWebconsole/src/app/components/repositories/manage-repository/manage-repository.component.ts b/ogWebconsole/src/app/components/repositories/manage-repository/manage-repository.component.ts index 581e656..189cdac 100644 --- a/ogWebconsole/src/app/components/repositories/manage-repository/manage-repository.component.ts +++ b/ogWebconsole/src/app/components/repositories/manage-repository/manage-repository.component.ts @@ -73,7 +73,7 @@ export class ManageRepositoryComponent implements OnInit { this.http.put(`${this.baseUrl}${this.repositoryId}`, payload).subscribe( (response) => { this.toastService.success('Repositorio editada correctamente'); - this.dialogRef.close(); + this.dialogRef.close(true); }, (error) => { this.toastService.error(error['error']['hydra:description']); @@ -83,7 +83,7 @@ export class ManageRepositoryComponent implements OnInit { this.http.post(`${this.baseUrl}/image-repositories`, payload).subscribe( (response) => { this.toastService.success('Repositorio aƱadido correctamente'); - this.dialogRef.close(); + this.dialogRef.close(true); }, (error) => { this.toastService.error(error['error']['hydra:description']);