git ssb

2+

mixmix / ticktack



Commit c595622493e1e6fe53de788e32b14f98db8475cc

wipe draft on publish!

mix irving committed on 4/11/2018, 9:56:20 PM
Parent: dffadefe5b79998c729e872521f3194d900a2167

Files changed

app/page/blogNew.jschanged
app/page/blogNew.jsView
@@ -190,9 +190,12 @@
190190 cb(null, content)
191191 })
192192 }
193193 },
194- (err, msg) => api.history.sync.push(err || { page: 'blogIndex' })
194+ (err, msg) => {
195+ api.drafts.sync.remove(DRAFT_LOCATION)
196+ api.history.sync.push(err || { page: 'blogIndex' })
197+ }
195198 )
196199 }
197200
198201 function initialiseChannelSuggests ({ input, suggester, meta }) {

Built with git-ssb-web