biome format --write
This commit is contained in:
parent
8372348148
commit
9262e803ec
415 changed files with 54076 additions and 17419 deletions
|
|
@ -1,16 +1,18 @@
|
|||
import { useListsStore } from 'src/stores/lists'
|
||||
import Timeline from '../timeline/timeline.vue'
|
||||
const ListsTimeline = {
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
listId: null
|
||||
listId: null,
|
||||
}
|
||||
},
|
||||
components: {
|
||||
Timeline
|
||||
Timeline,
|
||||
},
|
||||
computed: {
|
||||
timeline () { return this.$store.state.statuses.timelines.list }
|
||||
timeline() {
|
||||
return this.$store.state.statuses.timelines.list
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
$route: function (route) {
|
||||
|
|
@ -19,19 +21,25 @@ const ListsTimeline = {
|
|||
this.$store.dispatch('stopFetchingTimeline', 'list')
|
||||
this.$store.commit('clearTimeline', { timeline: 'list' })
|
||||
useListsStore().fetchList({ listId: this.listId })
|
||||
this.$store.dispatch('startFetchingTimeline', { timeline: 'list', listId: this.listId })
|
||||
this.$store.dispatch('startFetchingTimeline', {
|
||||
timeline: 'list',
|
||||
listId: this.listId,
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
created () {
|
||||
created() {
|
||||
this.listId = this.$route.params.id
|
||||
useListsStore().fetchList({ listId: this.listId })
|
||||
this.$store.dispatch('startFetchingTimeline', { timeline: 'list', listId: this.listId })
|
||||
this.$store.dispatch('startFetchingTimeline', {
|
||||
timeline: 'list',
|
||||
listId: this.listId,
|
||||
})
|
||||
},
|
||||
unmounted () {
|
||||
unmounted() {
|
||||
this.$store.dispatch('stopFetchingTimeline', 'list')
|
||||
this.$store.commit('clearTimeline', { timeline: 'list' })
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default ListsTimeline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue