mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
filter empty tags
This commit is contained in:
@@ -384,7 +384,7 @@ function getJobTagDetails () {
|
|||||||
const label = 'Job Tags';
|
const label = 'Job Tags';
|
||||||
const more = false;
|
const more = false;
|
||||||
|
|
||||||
const value = jobTags.map($filter('sanitize'));
|
const value = jobTags.filter(tag => tag !== '').map($filter('sanitize'));
|
||||||
|
|
||||||
return { label, more, value };
|
return { label, more, value };
|
||||||
}
|
}
|
||||||
@@ -406,8 +406,7 @@ function getSkipTagDetails () {
|
|||||||
|
|
||||||
const label = 'Skip Tags';
|
const label = 'Skip Tags';
|
||||||
const more = false;
|
const more = false;
|
||||||
|
const value = skipTags.filter(tag => tag !== '').map($filter('sanitize'));
|
||||||
const value = skipTags.map($filter('sanitize'));
|
|
||||||
|
|
||||||
return { label, more, value };
|
return { label, more, value };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user