mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
Only show the character limit if the user exceeds it
This commit is contained in:
parent
7207d7caf4
commit
0fb98642d4
@ -232,7 +232,8 @@ function(NotificationsList, i18n) {
|
||||
helperText: {
|
||||
classCondition: 'job_template_labels_isValid === true',
|
||||
ngClass: 'at-InputLabel--error',
|
||||
text: i18n._('Max 512 Char'),
|
||||
ngShow: 'job_template_labels_isValid !== true',
|
||||
text: i18n._('Max 512 Characters'),
|
||||
},
|
||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user