diff options
Diffstat (limited to 'app/assets/javascripts/issues/list/graphql.js')
-rw-r--r-- | app/assets/javascripts/issues/list/graphql.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/issues/list/graphql.js b/app/assets/javascripts/issues/list/graphql.js index 5ef61727a3d..b590006929a 100644 --- a/app/assets/javascripts/issues/list/graphql.js +++ b/app/assets/javascripts/issues/list/graphql.js @@ -22,4 +22,6 @@ const resolvers = { }, }; -export const gqlClient = createDefaultClient(resolvers); +export const gqlClient = gon.features?.frontendCaching + ? createDefaultClient(resolvers, { localCacheKey: 'issues_list' }) + : createDefaultClient(resolvers); |