diff --git a/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js b/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js index 5940076d75e..0714d2e6591 100644 --- a/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js +++ b/webpack/scenes/ModuleStreams/Details/ModuleStreamDetails.js @@ -50,8 +50,7 @@ class ModuleStreamDetails extends Component { breadcrumbItems={[ { caption: __('Module Streams'), - onClick: () => - this.props.history.push('/module_streams'), + url: '/module_streams/', }, { caption: `${name} ${stream}`, diff --git a/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap b/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap index f2bba34951f..9d11a0d1861 100644 --- a/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap +++ b/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetails.test.js.snap @@ -109,7 +109,7 @@ exports[`Module stream details page rendering renders with module stream provide Array [ Object { "caption": "Module Streams", - "onClick": [Function], + "url": "/module_streams/", }, Object { "caption": "avocado latest",