Remove: redundant defaults

This commit is contained in:
Raphael Beer 2020-04-01 09:40:07 +02:00
parent 8e985703bd
commit 9dd65aa6d5
No known key found for this signature in database
GPG Key ID: C1AC5E018B25EF11

View File

@ -270,6 +270,7 @@ export default {
mode: 'out-in', mode: 'out-in',
}, },
data() { data() {
console.log('component data()')
const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id }) const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id })
return { return {
User: [], User: [],
@ -461,8 +462,8 @@ export default {
variables() { variables() {
return { return {
id: this.$route.params.id, id: this.$route.params.id,
followedByCount: this.followedByCount || 7, followedByCount: this.followedByCount,
followingCount: this.followingCount || 7, followingCount: this.followingCount
} }
}, },
fetchPolicy: 'cache-and-network', fetchPolicy: 'cache-and-network',