From da57e9391c47af802d98768a6b9f37541782c55f Mon Sep 17 00:00:00 2001 From: roschaefer Date: Thu, 5 Sep 2019 01:15:23 +0200 Subject: [PATCH 1/2] Fix #1394 It seems that we weren't using the API of `vue-apollo` in the right way. The `update` callback is to transform the results (e.g. to map between the server response and a `data` attribute with a different name). For pagination there is a dedicated procedure called `fetchMore`. See: * https://vue-apollo.netlify.com/guide/apollo/pagination.html * https://vue-apollo.netlify.com/guide/components/query.html#query-operations --- webapp/pages/index.vue | 28 ++++++++++++++++++++-------- webapp/pages/profile/_id/_slug.vue | 30 +++++++++++++++++++++--------- 2 files changed, 41 insertions(+), 17 deletions(-) diff --git a/webapp/pages/index.vue b/webapp/pages/index.vue index 8dad24b65..e34a22373 100644 --- a/webapp/pages/index.vue +++ b/webapp/pages/index.vue @@ -61,7 +61,6 @@