Skip to content

Commit

Permalink
Remove link from sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
scottybollinger committed Jan 4, 2021
1 parent 25c6c5c commit d6f052a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ describe('WorkplaceSearchNav', () => {

expect(wrapper.find(SideNav)).toHaveLength(1);
expect(wrapper.find(SideNavLink).first().prop('to')).toEqual('/');
expect(wrapper.find(SideNavLink)).toHaveLength(7);
expect(wrapper.find(SideNavLink)).toHaveLength(6);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,5 @@ export const WorkplaceSearchNav: React.FC<Props> = ({ sourcesSubNav, groupsSubNa
{NAV.SETTINGS}
</SideNavLink>
<EuiSpacer />
<SideNavLink isExternal to={getWorkplaceSearchUrl(`#${SOURCES_PATH}`)}>
{NAV.PERSONAL_DASHBOARD}
</SideNavLink>
</SideNav>
);

0 comments on commit d6f052a

Please sign in to comment.