fix(app): Fix ports displayed twice when using docker EE-706 (#5239)

* fix duplicate port showing using docker

* fix changes from review by using lodash for filter

* move container filter in filter folder

* change filter name to unique for reuse
This commit is contained in:
Richard Wei
2021-07-23 11:29:01 +12:00
committed by GitHub
parent 09c5bada3e
commit c26af1449c
2 changed files with 4 additions and 1 deletions
@@ -262,7 +262,7 @@
<td ng-show="$ctrl.columnVisibility.columns.ports.display">
<a
ng-if="item.Ports.length > 0"
ng-repeat="p in item.Ports"
ng-repeat="p in item.Ports | unique: 'public'"
class="image-tag"
ng-href="http://{{ $ctrl.state.publicURL || p.host }}:{{ p.public }}"
target="_blank"