refs #1472. Changes in images and imageRepo
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details

pull/16/head
Manuel Aranda Rosales 2025-02-13 08:36:56 +01:00
parent 97556caa95
commit 12f7bad764
2 changed files with 2 additions and 3 deletions

View File

@ -207,11 +207,11 @@ export class MainRepositoryViewComponent implements OnInit {
} }
loadAlert(): Observable<any> { 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() { syncRepository() {
this.http.get(`${this.baseUrl}/image-repositories/server/sync`, {}) this.http.post(`${this.baseUrl}/image-repositories/server/${this.repositoryId}/sync`, {})
.subscribe(response => { .subscribe(response => {
this.toastService.success('Sincronización completada'); this.toastService.success('Sincronización completada');
this.load() this.load()

View File

@ -231,7 +231,6 @@ export class RepositoryImagesComponent implements OnInit {
}); });
break; break;
case 'transfer': case 'transfer':
console.log(image.image['@id']);
this.http.get(`${this.baseUrl}${image.image['@id']}`).subscribe({ this.http.get(`${this.baseUrl}${image.image['@id']}`).subscribe({
next: (response) => { next: (response) => {
this.dialog.open(ExportImageComponent, { this.dialog.open(ExportImageComponent, {