diff --git a/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.html b/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.html index 7962e6f..3924407 100644 --- a/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.html +++ b/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.html @@ -1,12 +1,18 @@ -

Convertir imagene virtual hacia {{ data.name }}

+

Convertir imagen virtual

+

Repositorio destino: {{ data.name }}

+ Imagen El nombre de la imagen tiene que ir con la extensión. + + Filesystem + +
diff --git a/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.ts b/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.ts index ebab8e9..fc73e36 100644 --- a/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.ts +++ b/ogWebconsole/src/app/components/repositories/convert-image/convert-image.component.ts @@ -13,6 +13,7 @@ export class ConvertImageComponent { baseUrl: string = import.meta.env.NG_APP_BASE_API_URL; loading: boolean = true; imageName: string = ''; + filesystem: string = ''; constructor( private http: HttpClient, @@ -31,7 +32,8 @@ export class ConvertImageComponent { save() { console.log(this.data?.repositoryUuid) this.http.post(`${this.baseUrl}/image-repositories/${this.data?.repositoryUuid}/convert-image`, { - name: this.imageName + name: this.imageName, + filesystem: this.filesystem }).subscribe({ next: (response) => { this.toastService.success('Peticion de conversion de imagen enviada correctamente');