Fix objectives bug

This commit is contained in:
Ramon Wenger 2021-03-24 00:58:20 +01:00
parent af77d7cf58
commit b635dc338a
1 changed files with 3 additions and 3 deletions

View File

@ -46,10 +46,10 @@ export default {
apollo: {
me: {
query: ME_QUERY,
update({me}) {
return this.$getRidOfEdges(me);
update(data) {
return this.$getRidOfEdges(data).me;
},
fetchPolicy: 'cache-first',
fetchPolicy: 'cache-first'
},
},
};