mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 06:28:01 -03:30
filter empty tags
This commit is contained in:
parent
5ada6f6db2
commit
3d752997ee
@ -384,7 +384,7 @@ function getJobTagDetails () {
|
||||
const label = 'Job Tags';
|
||||
const more = false;
|
||||
|
||||
const value = jobTags.map($filter('sanitize'));
|
||||
const value = jobTags.filter(tag => tag !== '').map($filter('sanitize'));
|
||||
|
||||
return { label, more, value };
|
||||
}
|
||||
@ -406,8 +406,7 @@ function getSkipTagDetails () {
|
||||
|
||||
const label = 'Skip Tags';
|
||||
const more = false;
|
||||
|
||||
const value = skipTags.map($filter('sanitize'));
|
||||
const value = skipTags.filter(tag => tag !== '').map($filter('sanitize'));
|
||||
|
||||
return { label, more, value };
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user