Skip to content

Commit

Permalink
Fix #559
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed Jun 30, 2020
1 parent c3e58fb commit 5df1d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otoroshi/javascript/src/pages/ServicePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ export class ServicePage extends Component {
onChange={e => this.changeTheValue('root', e)}
/>
)}
{!this.state.service.tcpUdpTunneling && (
{!this.state.service.tcpUdpTunneling && this.state.service.targets.length > 0 && (
<LinkDisplay
link={`${this.state.service.targets[0].scheme}://${this.state.service.targets[0].host}${this.state.service.root}`}
/>
Expand Down

0 comments on commit 5df1d68

Please sign in to comment.