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']);