mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
simplify conditional checking if schedules tab should be shown on proj detail
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user