mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -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`,
|
link: `${match.url}/job_templates`,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (project?.scm_type && project.scm_type !== '') {
|
if (project?.scm_type) {
|
||||||
tabsArray.push({
|
tabsArray.push({
|
||||||
name: i18n._(t`Schedules`),
|
name: i18n._(t`Schedules`),
|
||||||
link: `${match.url}/schedules`,
|
link: `${match.url}/schedules`,
|
||||||
|
|||||||
Reference in New Issue
Block a user