fix(services): fix invalid published ports link

pull/1988/head
Anthony Lapenna 2018-06-20 17:03:53 +03:00
parent f8370a1421
commit 165ca3ce3e
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@
</span> </span>
</td> </td>
<td> <td>
<a ng-if="item.Ports && item.Ports.length > 0 && p.PublishedPort" ng-repeat="p in item.Ports" class="image-tag" ng-href="http://{{ $ctrl.state.publicUrl }}:{{ p.PublishedPort }}" target="_blank" ng-click="$event.stopPropagation();"> <a ng-if="item.Ports && item.Ports.length > 0 && p.PublishedPort" ng-repeat="p in item.Ports" class="image-tag" ng-href="http://{{ $ctrl.state.publicURL }}:{{ p.PublishedPort }}" target="_blank" ng-click="$event.stopPropagation();">
<i class="fa fa-external-link-alt" aria-hidden="true"></i> {{ p.PublishedPort }}:{{ p.TargetPort }} <i class="fa fa-external-link-alt" aria-hidden="true"></i> {{ p.PublishedPort }}:{{ p.TargetPort }}
</a> </a>
<span ng-if="!item.Ports || item.Ports.length === 0">-</span> <span ng-if="!item.Ports || item.Ports.length === 0">-</span>