Commit 95dcfb06e8670274e8616e2cc41b3d126afd2336
show channels
Joran committed on 11/15/2017, 8:22:33 AMParent: 9c4c082716be076878d9de6ea1e4ff78c1137ef1
Files changed
src/components/Message.vue | changed |
src/components/Message.vue | ||
---|---|---|
@@ -6,8 +6,9 @@ | ||
6 | 6 … | <h5 class="mt-0"> |
7 | 7 … | {{ author }} |
8 | 8 … | <span class="text-muted"> |
9 | 9 … | {{ message.value.content.type() }} |
10 … | + <strong v-if="message.value.content.channel()">#{{ message.value.content.channel() }}</strong> | |
10 | 11 … | </span> |
11 | 12 … | </h5> |
12 | 13 … | |
13 | 14 … | <p v-html="content_text()"></p> |
@@ -67,12 +68,13 @@ | ||
67 | 68 … | this.message.value.author(), this.setAuthor |
68 | 69 … | ) |
69 | 70 … | |
70 | 71 … | if(this.message.key()) |
72 … | + { | |
71 | 73 … | this.$depject_api.getThread[0]( |
72 | 74 … | this.message.key(), this.setRelatedMessages |
73 | 75 … | ) |
74 | - | |
76 … | + } | |
75 | 77 … | this.image_url = this.$depject_api.avatar_image[0]( |
76 | 78 … | this.message.value.author() |
77 | 79 … | ) |
78 | 80 … | } |
Built with git-ssb-web