Merge pull request #6231 from jakemcdermott/6230-fix-double-schedules

Remove duplicate schedule tab

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-03-09 18:46:12 +00:00
committed by GitHub
2 changed files with 1 additions and 5 deletions

View File

@@ -126,10 +126,6 @@ class Template extends Component {
} }
tabsArray.push( tabsArray.push(
{
name: i18n._(t`Schedules`),
link: `${match.url}/schedules`,
},
{ {
name: i18n._(t`Completed Jobs`), name: i18n._(t`Completed Jobs`),
link: `${match.url}/completed_jobs`, link: `${match.url}/completed_jobs`,

View File

@@ -62,7 +62,7 @@ describe('<Template />', () => {
const tabs = await waitForElement( const tabs = await waitForElement(
wrapper, wrapper,
'.pf-c-tabs__item', '.pf-c-tabs__item',
el => el.length === 7 el => el.length === 6
); );
expect(tabs.at(2).text()).toEqual('Notifications'); expect(tabs.at(2).text()).toEqual('Notifications');
done(); done();