1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

fix(dashboard): show endpoint tags (#4216)

* fix(dashboard): show endpoint tags

* fix(dashboard): use ctrl
This commit is contained in:
Chaim Lev-Ari 2020-08-17 03:30:02 +03:00 committed by GitHub
parent 5c6147c9b9
commit b6fc434291
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 19 deletions

View file

@ -24,14 +24,7 @@
</tr>
<tr>
<td>Tags</td>
<td>
<span ng-if="ctrl.endpoint.Tags.length === 0">
-
</span>
<span ng-if="ctrl.endpoint.Tags.length > 0">
<span ng-repeat="tag in ctrl.endpoint.Tags"> {{ tag }}{{ $last ? '' : ', ' }} </span>
</span>
</td>
<td>{{ ctrl.endpointTags }}</td>
</tr>
</tbody>
</table>