diff options
author | Michael Muré <batolettre@gmail.com> | 2022-05-31 21:38:28 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-05-31 21:47:57 +0200 |
commit | 295da9c70f6cedb1394c2fa04c0b48a49448e8da (patch) | |
tree | a0830d73f013f63150b0ee653c32569aaafeadfb /webui | |
parent | 96327c3371ca762d906209c6114092bbf552c0f4 (diff) | |
download | git-bug-295da9c70f6cedb1394c2fa04c0b48a49448e8da.tar.gz |
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'], }, }, }), |