refs #2970. Fixed bug in repo
parent
b7b707ada8
commit
fccbb26dac
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue