Skip to content

Commit

Permalink
Fix hostname line for custom bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed May 10, 2024
1 parent d5c8c38 commit 9217b4c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gui/src/renderer/components/ConnectionPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ export default class ConnectionPanel extends React.Component<IProps> {
entry: this.props.entryHostname,
},
);
} else if (this.props.bridgeInfo?.ip) {
hostname = sprintf(messages.pgettext('connection-info', '%(relay)s via %(entry)s'), {
relay: this.props.hostname,
});
} else if (this.props.bridgeInfo !== undefined) {
hostname = sprintf(messages.pgettext('connection-info', '%(relay)s via Custom bridge'), {
relay: this.props.hostname,
Expand Down

0 comments on commit 9217b4c

Please sign in to comment.