diff options
Diffstat (limited to 'gui/src/renderer/components/ConnectionPanel.tsx')
| -rw-r--r-- | gui/src/renderer/components/ConnectionPanel.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/src/renderer/components/ConnectionPanel.tsx b/gui/src/renderer/components/ConnectionPanel.tsx index 65a47ea1b3..77aa9633e1 100644 --- a/gui/src/renderer/components/ConnectionPanel.tsx +++ b/gui/src/renderer/components/ConnectionPanel.tsx @@ -150,6 +150,11 @@ export default class ConnectionPanel extends React.Component<IProps> { entry: this.props.entryHostname, }, ); + } else if (this.props.bridgeInfo?.ip) { + return sprintf(messages.pgettext('connection-info', '%(relay)s via %(entry)s'), { + relay: this.props.hostname, + entry: this.props.bridgeInfo.ip, + }); } else { return this.props.hostname || ''; } |
