Skip to content

Commit

Permalink
chore: sync develop and master
Browse files Browse the repository at this point in the history
chore: sync develop and master
  • Loading branch information
arsenijesavic authored Mar 27, 2024
2 parents e0b465b + 5132950 commit ad192db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/apollo/apollo-client-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const wsLink = new WebSocketLink({
process.env.GRAPHQL_URI.replace('https', 'wss') ||
'wss://alpha-stts.tekit.io/graphql',
options: {
connectionParams: { 'X-Dgraph-AccessToken': localStorage.getItem(hyphaAccessTokenKey) },
reconnect: true
}
})
Expand Down
6 changes: 2 additions & 4 deletions src/pages/dho/Members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ export default {
onChange (name, value) { this.$set(this, name, value) },
loadMoreDaoApplicants (page, done) {
async loadMoreDaoApplicants (page, done) {
this.isLoadingDaoApplicants = true
if (this.daoApplicants?.length === this.applicantsCount) {
done(true)
}
this.applicantsPagination.page += 1
this.$apollo.queries.daoApplicants?.fetchMore({
Expand All @@ -418,8 +418,6 @@ export default {
filter: this.filterObject
},
updateQuery: (previousResult, { fetchMoreResult }) => {
done()
return {
getDao: {
__typename: fetchMoreResult.getDao.__typename,
Expand Down

0 comments on commit ad192db

Please sign in to comment.