git ssb

2+

mixmix / ticktack



Commit 27f9a05441c7fa00944475fef6f7972d00bc44cb

go to blogIndex after publishing a blog

mix irving committed on 12/6/2017, 6:55:20 AM
Parent: c579769220cc3a79b16cc065f3554b1a450038fd

Files changed

app/page/blogNew.jschanged
app/page/blogNew.jsView
@@ -28,9 +28,9 @@
2828 })
2929
3030 const composer = api.message.html.compose(
3131 { 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' })
3333 )
3434
3535 const channelInput = h('input', {
3636 'ev-input': e => meta.channel.set(e.target.value),

Built with git-ssb-web