From 8e4352555091c797a1f4ba8901f5aae76af65eb0 Mon Sep 17 00:00:00 2001 From: Christian Badura Date: Tue, 11 Jun 2024 12:29:35 +0200 Subject: [PATCH] fix: default dropdown values for type and technology in app create --- src/app/product-store/app-detail/app-detail.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/product-store/app-detail/app-detail.component.ts b/src/app/product-store/app-detail/app-detail.component.ts index 1d859c6..37a487d 100644 --- a/src/app/product-store/app-detail/app-detail.component.ts +++ b/src/app/product-store/app-detail/app-detail.component.ts @@ -125,6 +125,8 @@ export class AppDetailComponent implements OnChanges { this.mfe = undefined this.formGroupMs.reset() this.formGroupMfe.reset() + this.formGroupMfe.controls['type'].setValue('MODULE') + this.formGroupMfe.controls['technology'].setValue('ANGULAR') } if (this.appAbstract?.id) { if (this.appAbstract.appType === 'MFE') this.getMfe()