diff options
Diffstat (limited to 'frontend/views/graph/components/page.new.js')
| -rw-r--r-- | frontend/views/graph/components/page.new.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/views/graph/components/page.new.js b/frontend/views/graph/components/page.new.js index 5b72f89..921bebd 100644 --- a/frontend/views/graph/components/page.new.js +++ b/frontend/views/graph/components/page.new.js @@ -13,8 +13,9 @@ class PageNew extends Component { actions.page.create(data) .then(res => { console.log(res) + const graph = this.props.graph.show.res if (res.res && res.res.id) { - history.push('/' + res.res.path) + history.push('/' + graph.path + '/' + res.res.path) } }) .catch(err => { |
