Add link to credentials tag in template

This commit is contained in:
kialam 2018-05-31 13:51:07 -04:00
parent f49b61ecfa
commit 265554accb

View File

@ -44,7 +44,7 @@
<div class="at-RowItem-tagContainer" ng-if="tagValues && tagValues.length">
<!-- If there are 5 or less credential tags, show them all with Tag Component -->
<div ng-if="tagValues.length <= 5" ng-repeat="tag in tagValues">
<at-tag tag="tag.name" icon="{{ tag.kind }}"></at-tag>
<at-tag tag="tag.name" icon="{{ tag.kind }}" link="/#/credentials/{{ tag.id }}"></at-tag>
</div>
<!-- If there are 5 or MORE credential tags, handle them accordingly with Toggle Tag Component -->
<at-toggle-tag tags="tagValues" ng-if="tagValues.length > 5"></at-toggle-tag>