mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
Merge pull request #6980 from marshmalien/fix/insightsProjectEmptyRevisionString
Hide copy icon when revision string is empty
This commit is contained in:
commit
be6c6d3fe0
@ -243,7 +243,7 @@
|
||||
|
||||
<!-- REVISION DETAIL -->
|
||||
<div class="JobResults-resultRow"
|
||||
ng-show="job.scm_revision">
|
||||
ng-if="job.scm_revision">
|
||||
<label class="JobResults-resultRowLabel">
|
||||
Revision
|
||||
</label>
|
||||
|
||||
@ -525,7 +525,7 @@ angular.module('GeneratorHelpers', [systemStatus.name])
|
||||
Attr(field, 'columnClass') : "";
|
||||
html += `
|
||||
<td ${classList}>
|
||||
<at-truncate string="{{project.scm_revision}}" maxLength="7"></at-truncate>
|
||||
<at-truncate ng-if="project.scm_revision" string="{{project.scm_revision}}" maxLength="7"></at-truncate>
|
||||
</td>`;
|
||||
} else if (field.type === 'badgeCount') {
|
||||
html = BadgeCount(params);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user