simplify conditional checking if schedules tab should be shown on proj detail

This commit is contained in:
John Mitchell 2020-03-02 09:35:34 -05:00
parent c1c382a941
commit 5fdf6cf60f

View File

@ -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`,