Skip to content
Snippets Groups Projects
Commit b420b583 authored by lain's avatar lain
Browse files

Use statusOrConversation component in timeline.

parent 800b051a
No related branches found
No related tags found
No related merge requests found
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" >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment