mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Remove unnecessary refetching
First of all this removes a bug, but it also shows that apollo triggers the rerendering of dependent components. FYI @mattwr18
This commit is contained in:
parent
c9ef1bc5ce
commit
08778f3798
@ -316,7 +316,6 @@ export default {
|
||||
handleTab(tab) {
|
||||
this.tabActive = tab
|
||||
this.filter = tabToFilterMapping({ tab, id: this.$route.params.id })
|
||||
this.showMoreContributions()
|
||||
},
|
||||
uniq(items, field = 'id') {
|
||||
return uniqBy(items, field)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user