diff --git a/src/__test__/components/data-exploration/generic-gene-table/ComponentActions.test.jsx b/src/__test__/components/data-exploration/generic-gene-table/ComponentActions.test.jsx index 6151878f2a..cc7ec90b37 100644 --- a/src/__test__/components/data-exploration/generic-gene-table/ComponentActions.test.jsx +++ b/src/__test__/components/data-exploration/generic-gene-table/ComponentActions.test.jsx @@ -77,8 +77,8 @@ describe('ComponentActions', () => { const dropdown = component.find(Dropdown); expect(dropdown.length).toEqual(1); - expect(dropdown.props().menu.type.name).toEqual('Menu'); - expect(dropdown.props().menu.props.children.length).toEqual(3); + expect(dropdown.props().overlay.type.name).toEqual('Menu'); + expect(dropdown.props().overlay.props.children.length).toEqual(3); }); it('Renders correctly when there are no selected genes', () => { @@ -114,7 +114,7 @@ describe('ComponentActions', () => { , ); - const menuButtons = component.find(Dropdown).props().menu; + const menuButtons = component.find(Dropdown).props().overlay; menuButtons.props.children[0].props.onClick(); // Wait for side-effect to propagate (properties loading and loaded). @@ -154,7 +154,7 @@ describe('ComponentActions', () => { , ); - const menuButtons = component.find(Dropdown).props().menu; + const menuButtons = component.find(Dropdown).props().overlay; menuButtons.props.children[1].props.onClick(); // Wait for side-effect to propagate (genes loaded). @@ -182,7 +182,7 @@ describe('ComponentActions', () => { , ); - const menuButtons = component.find(Dropdown).props().menu; + const menuButtons = component.find(Dropdown).props().overlay; menuButtons.props.children[2].props.onClick(); // Wait for side-effect to propagate (properties loading and loaded). diff --git a/src/components/data-exploration/generic-gene-table/ComponentActions.jsx b/src/components/data-exploration/generic-gene-table/ComponentActions.jsx index 8ae922eac8..17c5f573e7 100644 --- a/src/components/data-exploration/generic-gene-table/ComponentActions.jsx +++ b/src/components/data-exploration/generic-gene-table/ComponentActions.jsx @@ -60,7 +60,7 @@ const ComponentActions = (props) => { } return ( - + diff --git a/src/pages/experiments/[experimentId]/data-exploration/index.jsx b/src/pages/experiments/[experimentId]/data-exploration/index.jsx index 97b8c38b4e..f099138d85 100644 --- a/src/pages/experiments/[experimentId]/data-exploration/index.jsx +++ b/src/pages/experiments/[experimentId]/data-exploration/index.jsx @@ -183,7 +183,7 @@ const ExplorationViewPage = ({ setAddMenuVisible(visible)} >