mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
simplify conditional checking if schedules tab should be shown on proj detail
This commit is contained in:
parent
c1c382a941
commit
5fdf6cf60f
@ -145,7 +145,7 @@ class Project extends Component {
|
||||
link: `${match.url}/job_templates`,
|
||||
});
|
||||
|
||||
if (project?.scm_type && project.scm_type !== '') {
|
||||
if (project?.scm_type) {
|
||||
tabsArray.push({
|
||||
name: i18n._(t`Schedules`),
|
||||
link: `${match.url}/schedules`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user