support route path change in workflow
[sdc/sdc-workflow-designer.git] / workflow-designer-ui / src / main / frontend / src / features / version / versionController / VersionControllerView.jsx
index f2511c0..ef5e116 100644 (file)
@@ -55,7 +55,7 @@ export default class VersionControllerView extends Component {
     routeToOverview = () => {
         const { history, match } = this.props;
         const workflowId = match.params.workflowId;
-        history.push('/workflow/' + workflowId + '/overview');
+        history.push(`/workflows/workflow/${workflowId}/overview`);
     };
 
     sendSaveParamsToServer = () => {