mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Hide copy icon when revision string is empty
This commit is contained in:
parent
e6a14522aa
commit
d2396161b9
@ -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