Fix column offsets for when security scanning is disabled

This commit is contained in:
Joseph Schorr 2018-12-11 14:20:21 -05:00
parent a9b8586423
commit c1bdae395c

View file

@ -298,7 +298,7 @@
<!-- Expanded View -->
<tr ng-if="expandedView" class="expanded-viewport" ng-class="{'manifest-list': tag.is_manifest_list}">
<td class="checkbox-col"></td>
<td class="labels-col" colspan="{{6 + (repository.trust_enabled ? 1 : 0) + (Features.SECURITY_SCANNER ? 1 : 0) }}">
<td class="labels-col" colspan="{{6 + (repository.trust_enabled ? 1 : 0) + (Features.SECURITY_SCANNER ? 1 : -1) }}">
<!-- Image ID -->
<div class="image-id-row">
<manifest-link repository="repository" image-id="tag.image_id" manifest-digest="tag.manifest_digest"></manifest-link>