Skip to content

Commit

Permalink
fix(webapp): tooltip for the selected protocol is always set to RDP (#…
Browse files Browse the repository at this point in the history
…862)

Issue: DGW-187
  • Loading branch information
kristahouse authored May 16, 2024
1 parent 235e3a7 commit 717d53e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export class WebClientFormComponent
}
});

this.updateProtocolTooltip(protocol);
this.formService.detectFormChanges(this.cdr);
},
(error) =>
Expand All @@ -150,10 +151,8 @@ export class WebClientFormComponent
this.buildFormGroup(this.inputFormData)
.pipe(
takeUntil(this.destroyed$),
switchMap((formGroup) => {
switchMap((formGroup: FormGroup<unknown>) => {
this.connectSessionForm = formGroup;
this.subscribeToProtocolChanges();

return forkJoin({
protocolOptions: this.formService.getProtocolOptions(),
hostnames: this.getHostnames(),
Expand All @@ -169,6 +168,7 @@ export class WebClientFormComponent
this.protocolOptions = protocolOptions;
this.hostnames = hostnames;

this.subscribeToProtocolChanges();
this.updateProtocolTooltip();
},
error: (error) =>
Expand Down

0 comments on commit 717d53e

Please sign in to comment.