summaryrefslogtreecommitdiff
path: root/frontend/views/index/containers/graph.new.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/views/index/containers/graph.new.js')
-rw-r--r--frontend/views/index/containers/graph.new.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/views/index/containers/graph.new.js b/frontend/views/index/containers/graph.new.js
index 186f8f7..be96bf5 100644
--- a/frontend/views/index/containers/graph.new.js
+++ b/frontend/views/index/containers/graph.new.js
@@ -14,7 +14,7 @@ class GraphNew extends Component {
.then(res => {
console.log(res)
if (res.res && res.res.id) {
- history.push('/graph/' + res.res.name)
+ history.push('/' + res.res.path)
}
})
.catch(err => {