From 295da9c70f6cedb1394c2fa04c0b48a49448e8da Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 31 May 2022 21:38:28 +0200 Subject: cache: ensure that the default repo has a non-empty name to make js/apollo happy --- webui/src/apollo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webui') 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'], }, }, }), -- cgit