From 717d53e1494cfe796ed2978c1aa2757753ef0c95 Mon Sep 17 00:00:00 2001 From: Krista House Date: Thu, 16 May 2024 09:43:32 -0400 Subject: [PATCH] fix(webapp): tooltip for the selected protocol is always set to RDP (#862) Issue: DGW-187 --- .../modules/web-client/form/web-client-form.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/src/client/app/modules/web-client/form/web-client-form.component.ts b/webapp/src/client/app/modules/web-client/form/web-client-form.component.ts index 2a8dfda56..ad98741b2 100644 --- a/webapp/src/client/app/modules/web-client/form/web-client-form.component.ts +++ b/webapp/src/client/app/modules/web-client/form/web-client-form.component.ts @@ -139,6 +139,7 @@ export class WebClientFormComponent } }); + this.updateProtocolTooltip(protocol); this.formService.detectFormChanges(this.cdr); }, (error) => @@ -150,10 +151,8 @@ export class WebClientFormComponent this.buildFormGroup(this.inputFormData) .pipe( takeUntil(this.destroyed$), - switchMap((formGroup) => { + switchMap((formGroup: FormGroup) => { this.connectSessionForm = formGroup; - this.subscribeToProtocolChanges(); - return forkJoin({ protocolOptions: this.formService.getProtocolOptions(), hostnames: this.getHostnames(), @@ -169,6 +168,7 @@ export class WebClientFormComponent this.protocolOptions = protocolOptions; this.hostnames = hostnames; + this.subscribeToProtocolChanges(); this.updateProtocolTooltip(); }, error: (error) =>