From 5259abff81bb9648b1feee80c9365fd701d7d4c1 Mon Sep 17 00:00:00 2001 From: Waseem Abbas Date: Tue, 19 Nov 2024 18:49:04 +0500 Subject: [PATCH] Fix missing AMI value in edit machine deployment dialog (#7002) --- modules/web/src/app/node-data/basic/provider/aws/component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/web/src/app/node-data/basic/provider/aws/component.ts b/modules/web/src/app/node-data/basic/provider/aws/component.ts index fdb9644cec..d49a58974f 100644 --- a/modules/web/src/app/node-data/basic/provider/aws/component.ts +++ b/modules/web/src/app/node-data/basic/provider/aws/component.ts @@ -239,6 +239,7 @@ export class AWSBasicNodeDataComponent extends BaseFormValidator implements OnIn private _init(): void { if (this._nodeDataService.nodeData.spec.cloud.aws) { this.form.get(Controls.DiskSize).setValue(this._nodeDataService.nodeData.spec.cloud.aws.diskSize); + this.form.get(Controls.AMI).setValue(this._nodeDataService.nodeData.spec.cloud.aws.ami); this._cdr.detectChanges(); }