Show previews in actions

This commit is contained in:
Pavel Djundik 2018-07-12 19:59:13 +03:00 committed by Pavel Djundik
parent 499beb0257
commit 825e3beba6

View File

@ -4,17 +4,23 @@
<span
ref="text"
class="text"><ParsedMessage :message="message"/></span>
<LinkPreview
v-for="preview in message.previews"
:key="preview.link"
:link="preview"/>
</span>
</template>
<script>
import ParsedMessage from "../ParsedMessage.vue";
import LinkPreview from "../LinkPreview.vue";
import Username from "../Username.vue";
export default {
name: "MessageTypeAction",
components: {
ParsedMessage,
LinkPreview,
Username,
},
props: {