Skip to content

Commit

Permalink
fix(webapp): menu icon does not update on error for RDP, ARD, VNC (#861)
Browse files Browse the repository at this point in the history
Issue: DGW-168
  • Loading branch information
kristahouse authored May 15, 2024
1 parent 7e50a04 commit 235e3a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export class WebClientArdComponent extends WebClientBaseComponent implements On
backtrace: typeof errorData !== 'string' ? errorData?.backtrace() : ''
};

const icon: string = eventType === SessionEventType.TERMINATED ?
const icon: string = eventType === SessionEventType.TERMINATED || SessionEventType.ERROR ?
WebClientArdComponent.DVL_WARNING_ICON :
WebClientArdComponent.DVL_ARD_ICON;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export class WebClientRdpComponent extends WebClientBaseComponent implements On
backtrace: typeof errorData !== 'string' ? errorData?.backtrace() : ''
};

const icon: string = eventType === SessionEventType.TERMINATED ?
const icon: string = eventType === SessionEventType.TERMINATED || SessionEventType.ERROR ?
WebClientRdpComponent.DVL_WARNING_ICON :
WebClientRdpComponent.DVL_RDP_ICON;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export class WebClientVncComponent extends WebClientBaseComponent implements On
backtrace: typeof errorData !== 'string' ? errorData?.backtrace() : ''
};

const icon: string = eventType === SessionEventType.TERMINATED ?
const icon: string = eventType === SessionEventType.TERMINATED || SessionEventType.ERROR ?
WebClientVncComponent.DVL_WARNING_ICON :
WebClientVncComponent.DVL_VNC_ICON;

Expand Down

0 comments on commit 235e3a7

Please sign in to comment.