git ssb

3+

dangerousbeans / scuttle-vue



Commit eb830c75872a43365ae189ccc32f9c874a4e8253

width

Joran committed on 11/15/2017, 1:31:15 AM
Parent: b65df85068d01bbc7fd6b0ba8686cccbae6928ee

Files changed

src/components/Message.vuechanged
src/components/Message.vueView
@@ -1,8 +1,8 @@
11
22 <template>
33 <div class="media">
4- <img :src="image_url"></img>
4 + <img :src="image_url" style="max-width: 80px"></img>
55
66
77 <div class="media-body">
88 <h5 class="mt-0">{{ author }}</h5>
@@ -45,14 +45,10 @@
4545 return
4646 this.author = nn( a[0] ).name()
4747 },
4848
49- set_image_url(err, a){
50- console.log("Set image URL")
51- console.log(err, a)
52- // this.image_url = a
53- },
5449
50 +
5551 // Get markdown formatted version of message content
5652 content_text()
5753 {
5854 return md.block( this.message.value.content.text() )
@@ -63,12 +59,10 @@
6359 this.$depject_api.signifier[0](
6460 this.message.value.author(), this.setAuthor
6561 ),
6662
67- // this.$depject_api.avatar[0]("@TXKFQehlyoSn8UJAIVP/k2BjFINC591MlBC2e2d24mA=.ed25519")}
68- // this.image_url = "face"
6963 this.image_url = this.$depject_api.avatar_image[0](
70- this.message.value.author(), this.set_image_url, this.set_image_url
64 + this.message.value.author()
7165 )
7266 }
7367 }
7468

Built with git-ssb-web