diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
commit | db384e6b19af03b4c3c82a5760d83a3fd79f7982 (patch) | |
tree | 34beaef37df5f47ccbcf5729d7583aae093cffa0 /app/assets/javascripts/issues/list/graphql.js | |
parent | 54fd7b1bad233e3944434da91d257fa7f63c3996 (diff) |
Add latest changes from gitlab-org/gitlab@16-3-stable-eev16.3.0-rc42
Diffstat (limited to 'app/assets/javascripts/issues/list/graphql.js')
-rw-r--r-- | app/assets/javascripts/issues/list/graphql.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/issues/list/graphql.js b/app/assets/javascripts/issues/list/graphql.js index e64870152bd..6e9a566cb5c 100644 --- a/app/assets/javascripts/issues/list/graphql.js +++ b/app/assets/javascripts/issues/list/graphql.js @@ -1,6 +1,7 @@ import produce from 'immer'; import createDefaultClient, { createApolloClientWithCaching } from '~/lib/graphql'; import getIssuesQuery from 'ee_else_ce/issues/list/queries/get_issues.query.graphql'; +import { config } from '~/graphql_shared/issuable_client'; let client; @@ -27,7 +28,7 @@ const resolvers = { export async function gqlClient() { if (client) return client; client = gon.features?.frontendCaching - ? await createApolloClientWithCaching(resolvers, { localCacheKey: 'issues_list' }) - : createDefaultClient(resolvers); + ? await createApolloClientWithCaching(resolvers, { localCacheKey: 'issues_list', ...config }) + : createDefaultClient(resolvers, config); return client; } |