git ssb

16+

Dominic / patchbay



Commit 6d8b19c2ddca9ab63af6775ccb64d0942a23d808

Merge branch 'master' of github.com:ssbc/patchbay

mixmix committed on 11/19/2018, 7:09:01 AM
Parent: 4d1c3739c5f90c85db9ec1aad521dce9696f3026
Parent: d2fbf93aa7214025cd1d3f3f45751f25ff4e4b1e

Files changed

app/page/posts.jschanged
message/html/compose.jschanged
message/html/render/about.jschanged
app/page/posts.jsView
@@ -257,9 +257,9 @@
257257 ])
258258 ]
259259 )
260260 // h('div', 'non-match')
261- ),
261 + )
262262 // h('ThreadCard -loading')
263263 )
264264 }
265265
message/html/compose.jsView
@@ -89,9 +89,9 @@
8989 const opts = {
9090 stripExif: api.settings.obs.get('patchbay.removeExif', true),
9191 isPrivate
9292 }
93- debugger
93 +
9494 blobFiles(files, api.sbot.obs.connection, opts, afterBlobed)
9595 },
9696 placeholder
9797 })
message/html/render/about.jsView
@@ -42,11 +42,17 @@
4242 if (image && ref.isBlob(image.link)) image = image.link
4343 about = about || link
4444
4545 const metaData = [
46- name ? h('div', [ h('strong', 'Name: '), name ]) : undefined,
47- description ? h('div', [ h('strong', 'Description: '), description ]) : undefined,
48- image ? h('img', { src: api.blob.sync.url(image), style: { 'margin-top': '.5rem' } }) : undefined
46 + typeof name === 'string'
47 + ? h('div', [ h('strong', 'Name: '), name ])
48 + : undefined,
49 + typeof description === 'string'
50 + ? h('div', [ h('strong', 'Description: '), description ])
51 + : undefined,
52 + typeof image === 'string'
53 + ? h('img', { src: api.blob.sync.url(image), style: { 'margin-top': '.5rem' } })
54 + : undefined
4955 ]
5056
5157 if (!ref.isFeed(about)) {
5258 return [

Built with git-ssb-web