Code Review
/
sdc
/
sdc-workflow-designer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
support route path change in workflow
[sdc/sdc-workflow-designer.git]
/
workflow-designer-ui
/
src
/
main
/
frontend
/
src
/
features
/
catalog
/
CatalogView.jsx
diff --git
a/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
b/workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
index
b9d6f86
..
c1cd68c
100644
(file)
--- a/
workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
+++ b/
workflow-designer-ui/src/main/frontend/src/features/catalog/CatalogView.jsx
@@
-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 => {