mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 13:55:31 +03:00
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:
commit
9567dc9e17
@ -126,10 +126,6 @@ class Template extends Component {
|
||||
}
|
||||
|
||||
tabsArray.push(
|
||||
{
|
||||
name: i18n._(t`Schedules`),
|
||||
link: `${match.url}/schedules`,
|
||||
},
|
||||
{
|
||||
name: i18n._(t`Completed Jobs`),
|
||||
link: `${match.url}/completed_jobs`,
|
||||
|
@ -62,7 +62,7 @@ describe('<Template />', () => {
|
||||
const tabs = await waitForElement(
|
||||
wrapper,
|
||||
'.pf-c-tabs__item',
|
||||
el => el.length === 7
|
||||
el => el.length === 6
|
||||
);
|
||||
expect(tabs.at(2).text()).toEqual('Notifications');
|
||||
done();
|
||||
|
Loading…
Reference in New Issue
Block a user