Show previews in actions
This commit is contained in:
parent
499beb0257
commit
825e3beba6
@ -4,17 +4,23 @@
|
|||||||
<span
|
<span
|
||||||
ref="text"
|
ref="text"
|
||||||
class="text"><ParsedMessage :message="message"/></span>
|
class="text"><ParsedMessage :message="message"/></span>
|
||||||
|
<LinkPreview
|
||||||
|
v-for="preview in message.previews"
|
||||||
|
:key="preview.link"
|
||||||
|
:link="preview"/>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ParsedMessage from "../ParsedMessage.vue";
|
import ParsedMessage from "../ParsedMessage.vue";
|
||||||
|
import LinkPreview from "../LinkPreview.vue";
|
||||||
import Username from "../Username.vue";
|
import Username from "../Username.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "MessageTypeAction",
|
name: "MessageTypeAction",
|
||||||
components: {
|
components: {
|
||||||
ParsedMessage,
|
ParsedMessage,
|
||||||
|
LinkPreview,
|
||||||
Username,
|
Username,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
Loading…
Reference in New Issue
Block a user