diff options
author | Michael Muré <batolettre@gmail.com> | 2022-06-18 22:44:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 22:44:28 +0200 |
commit | b694052c46a69b47e58526068109db2fbcca92af (patch) | |
tree | f0b98f91c19ccb726a4a94d1920d11bb2d93d98e /webui | |
parent | f80910891e4fdb7f03d7993da25e48ccdecaecb7 (diff) | |
parent | 295da9c70f6cedb1394c2fa04c0b48a49448e8da (diff) | |
download | git-bug-b694052c46a69b47e58526068109db2fbcca92af.tar.gz |
Merge pull request #807 from MichaelMure/default-repo-name
cache: ensure that the default repo has a non-empty name to make js/apollo happy
Diffstat (limited to 'webui')
-rw-r--r-- | webui/src/apollo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/src/apollo.ts b/webui/src/apollo.ts index c111dbd8..3482df54 100644 --- a/webui/src/apollo.ts +++ b/webui/src/apollo.ts @@ -9,7 +9,7 @@ const client = new ApolloClient({ typePolicies: { // TODO: For now, we only query the default repository, so consider it as a singleton Repository: { - keyFields: [], + keyFields: ['name'], }, }, }), |