From dcb0743cbe2c809bc80d244b2519e1f6a34c15c4 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 22 May 2025 21:16:47 +0200 Subject: [PATCH] Fix VM creation / update by adding missing oem_string property --- virtweb_frontend/src/api/VMApi.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/virtweb_frontend/src/api/VMApi.ts b/virtweb_frontend/src/api/VMApi.ts index 11d498f..415a719 100644 --- a/virtweb_frontend/src/api/VMApi.ts +++ b/virtweb_frontend/src/api/VMApi.ts @@ -83,6 +83,7 @@ interface VMInfoInterface { file_disks: VMFileDisk[]; networks: VMNetInterface[]; tpm_module: boolean; + oem_strings: string[]; } export class VMInfo implements VMInfoInterface { @@ -101,6 +102,7 @@ export class VMInfo implements VMInfoInterface { file_disks: VMFileDisk[]; networks: VMNetInterface[]; tpm_module: boolean; + oem_strings: string[]; constructor(int: VMInfoInterface) { this.name = int.name; @@ -118,6 +120,7 @@ export class VMInfo implements VMInfoInterface { this.file_disks = int.file_disks; this.networks = int.networks; this.tpm_module = int.tpm_module; + this.oem_strings = int.oem_strings; } static NewEmpty(): VMInfo { @@ -132,6 +135,7 @@ export class VMInfo implements VMInfoInterface { file_disks: [], networks: [], tpm_module: true, + oem_strings: [], }); }