Commit 27f9a05441c7fa00944475fef6f7972d00bc44cb
go to blogIndex after publishing a blog
mix irving committed on 12/6/2017, 6:55:20 AMParent: c579769220cc3a79b16cc065f3554b1a450038fd
Files changed
app/page/blogNew.js | changed |
app/page/blogNew.js | ||
---|---|---|
@@ -28,9 +28,9 @@ | ||
28 | 28 | }) |
29 | 29 | |
30 | 30 | const composer = api.message.html.compose( |
31 | 31 | { meta, placeholder: strings.blogNew.actions.writeBlog, shrink: false }, |
32 | - (err, msg) => api.history.sync.push(err ? err : msg) | |
32 | + (err, msg) => api.history.sync.push(err ? err : { page: 'blogIndex' }) | |
33 | 33 | ) |
34 | 34 | |
35 | 35 | const channelInput = h('input', { |
36 | 36 | 'ev-input': e => meta.channel.set(e.target.value), |
Built with git-ssb-web