Skip to content

Commit

Permalink
ws-client minor UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
deaflynx committed Mar 29, 2024
1 parent 3c5a645 commit c3954dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,8 @@ export class ConnectionWizardDialogComponent extends DialogComponent<ConnectionW
this.connectionFormGroup.get('password').updateValueAndValidity();
}
);
if (entity.configuration.url.includes('wss://')) {
if (entity?.configuration?.url?.includes('wss://')) {
this.addressProtocol = WsAddressProtocolType.WSS;
console.log('wss')
} else {
console.log('ws')
}
}

Expand Down
2 changes: 1 addition & 1 deletion ui-ngx/src/assets/locale/locale.constant-en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@
"request-problem-information": "Request Problem Information",
"request-problem-information-hint": "The Client uses this value to indicate whether the Reason String or User Properties are sent in the case of failures",
"reject-unauthorized": "Verify server certificate chain",
"reject-unauthorized-hint": "If true, client verifies the server certificate chain and host name",
"reject-unauthorized-hint": "If true, client verifies the server certificate chain and host name. Set to false when using a self-signed certificate, but beware of potential man-in-the-middle attacks. Not recommended for production.",
"user-properties": "User Properties",
"url": "URL",
"url-required": "URL is required",
Expand Down

0 comments on commit c3954dc

Please sign in to comment.