support route path change in workflow
[sdc/sdc-workflow-designer.git] / workflow-designer-ui / src / main / frontend / src / features / catalog / CatalogView.jsx
index b9d6f86..c1cd68c 100644 (file)
@@ -100,7 +100,8 @@ class CatalogView extends Component {
 
     goToOverviewPage = id => {
         const { history } = this.props;
-        history.push('/workflow/' + id + '/overview');
+        const { location } = history;
+        history.push(`${location.pathname}/workflow/${id}/overview`);
     };
 
     searchChange = searchValue => {