Commit 6d8b19c2ddca9ab63af6775ccb64d0942a23d808
Merge branch 'master' of github.com:ssbc/patchbay
mixmix committed on 11/19/2018, 7:09:01 AMParent: 4d1c3739c5f90c85db9ec1aad521dce9696f3026
Parent: d2fbf93aa7214025cd1d3f3f45751f25ff4e4b1e
Files changed
app/page/posts.js | changed |
message/html/compose.js | changed |
message/html/render/about.js | changed |
app/page/posts.js | ||
---|---|---|
@@ -257,9 +257,9 @@ | ||
257 | 257 … | ]) |
258 | 258 … | ] |
259 | 259 … | ) |
260 | 260 … | // h('div', 'non-match') |
261 | - ), | |
261 … | + ) | |
262 | 262 … | // h('ThreadCard -loading') |
263 | 263 … | ) |
264 | 264 … | } |
265 | 265 … |
message/html/compose.js | ||
---|---|---|
@@ -89,9 +89,9 @@ | ||
89 | 89 … | const opts = { |
90 | 90 … | stripExif: api.settings.obs.get('patchbay.removeExif', true), |
91 | 91 … | isPrivate |
92 | 92 … | } |
93 | - debugger | |
93 … | + | |
94 | 94 … | blobFiles(files, api.sbot.obs.connection, opts, afterBlobed) |
95 | 95 … | }, |
96 | 96 … | placeholder |
97 | 97 … | }) |
message/html/render/about.js | ||
---|---|---|
@@ -42,11 +42,17 @@ | ||
42 | 42 … | if (image && ref.isBlob(image.link)) image = image.link |
43 | 43 … | about = about || link |
44 | 44 … | |
45 | 45 … | 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 | |
49 | 55 … | ] |
50 | 56 … | |
51 | 57 … | if (!ref.isFeed(about)) { |
52 | 58 … | return [ |
Built with git-ssb-web