From 5fdf6cf60faa99bf09016dea354eb4ea2773b10a Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 2 Mar 2020 09:35:34 -0500 Subject: [PATCH] simplify conditional checking if schedules tab should be shown on proj detail --- awx/ui_next/src/screens/Project/Project.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/screens/Project/Project.jsx b/awx/ui_next/src/screens/Project/Project.jsx index 83c297c071..9e401fde76 100644 --- a/awx/ui_next/src/screens/Project/Project.jsx +++ b/awx/ui_next/src/screens/Project/Project.jsx @@ -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`,