Use statusOrConversation component in timeline.
This commit is contained in:
parent
800b051a16
commit
b420b5838c
@ -1,5 +1,6 @@
|
||||
import Status from '../status/status.vue'
|
||||
import timelineFetcher from '../../services/timeline_fetcher/timeline_fetcher.service.js'
|
||||
import StatusOrConversation from '../status_or_conversation/status_or_conversation.vue'
|
||||
|
||||
const Timeline = {
|
||||
props: [
|
||||
@ -7,7 +8,8 @@ const Timeline = {
|
||||
'timelineName'
|
||||
],
|
||||
components: {
|
||||
Status
|
||||
Status,
|
||||
StatusOrConversation
|
||||
},
|
||||
created () {
|
||||
const store = this.$store
|
||||
|
@ -7,7 +7,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
<status v-for="status in timeline.visibleStatuses" :key="status.id" v-bind:statusoid="status"></status>
|
||||
<status-or-conversation v-for="status in timeline.visibleStatuses" :key="status.id" v-bind:statusoid="status"></status-or-conversation>
|
||||
<a href="#" v-on:click.prevent='fetchOlderStatuses()' v-if="!timeline.loading">
|
||||
<div class="base01-background base05-border new-status-notification">
|
||||
<p class="text-center" >
|
||||
|
Loading…
Reference in New Issue
Block a user