biome format --write
This commit is contained in:
parent
8372348148
commit
9262e803ec
415 changed files with 54076 additions and 17419 deletions
|
|
@ -1,26 +1,36 @@
|
|||
import Timeline from '../timeline/timeline.vue'
|
||||
|
||||
const QuotesTimeline = {
|
||||
created () {
|
||||
created() {
|
||||
this.$store.commit('clearTimeline', { timeline: 'quotes' })
|
||||
this.$store.dispatch('startFetchingTimeline', { timeline: 'quotes', statusId: this.statusId })
|
||||
this.$store.dispatch('startFetchingTimeline', {
|
||||
timeline: 'quotes',
|
||||
statusId: this.statusId,
|
||||
})
|
||||
},
|
||||
components: {
|
||||
Timeline
|
||||
Timeline,
|
||||
},
|
||||
computed: {
|
||||
statusId () { return this.$route.params.id },
|
||||
timeline () { return this.$store.state.statuses.timelines.quotes }
|
||||
statusId() {
|
||||
return this.$route.params.id
|
||||
},
|
||||
timeline() {
|
||||
return this.$store.state.statuses.timelines.quotes
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
statusId () {
|
||||
statusId() {
|
||||
this.$store.commit('clearTimeline', { timeline: 'quotes' })
|
||||
this.$store.dispatch('startFetchingTimeline', { timeline: 'quotes', statusId: this.statusId })
|
||||
}
|
||||
this.$store.dispatch('startFetchingTimeline', {
|
||||
timeline: 'quotes',
|
||||
statusId: this.statusId,
|
||||
})
|
||||
},
|
||||
},
|
||||
unmounted () {
|
||||
unmounted() {
|
||||
this.$store.dispatch('stopFetchingTimeline', 'quotes')
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default QuotesTimeline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue