refs #1472. Changes in images and imageRepo
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
97556caa95
commit
12f7bad764
|
@ -207,11 +207,11 @@ export class MainRepositoryViewComponent implements OnInit {
|
|||
}
|
||||
|
||||
loadAlert(): Observable<any> {
|
||||
return this.http.get<any>(`${this.baseUrl}/image-repositories/server/get-collection`);
|
||||
return this.http.post<any>(`${this.baseUrl}/image-repositories/server/${this.repositoryId}/get-collection`, {});
|
||||
}
|
||||
|
||||
syncRepository() {
|
||||
this.http.get(`${this.baseUrl}/image-repositories/server/sync`, {})
|
||||
this.http.post(`${this.baseUrl}/image-repositories/server/${this.repositoryId}/sync`, {})
|
||||
.subscribe(response => {
|
||||
this.toastService.success('Sincronización completada');
|
||||
this.load()
|
||||
|
|
|
@ -231,7 +231,6 @@ export class RepositoryImagesComponent implements OnInit {
|
|||
});
|
||||
break;
|
||||
case 'transfer':
|
||||
console.log(image.image['@id']);
|
||||
this.http.get(`${this.baseUrl}${image.image['@id']}`).subscribe({
|
||||
next: (response) => {
|
||||
this.dialog.open(ExportImageComponent, {
|
||||
|
|
Loading…
Reference in New Issue