akkoma-fe/src/components/conversation/conversation.vue

18 lines
630 B
Vue
Raw Normal View History

<template>
<div class="timeline panel panel-default base00-background">
<div class="panel-heading base01-background base04">
Conversation
<span v-if="collapsable" style="float:right;">
<small><a href="#" @click.prevent="$emit('toggleExpanded')">Collapse</a></small>
</span>
</div>
<div class="panel-body">
<div class="timeline">
<status v-for="status in conversation" :key="status.id" :statusoid="status" :expandable='false' :focused="focused(status.id)" :inConversation='true'></status>
</div>
</div>
</div>
</template>
<script src="./conversation.js"></script>