Fix apollo cache not being properly set after picking close city

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-29 17:26:18 +02:00
parent fcc3fe746e
commit 0a482d238e
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -257,6 +257,7 @@ export default class Preferences extends Vue {
await this.$apollo.mutate<{ setUserSetting: string }>({
mutation: SET_USER_SETTINGS,
variables: userSettings,
refetchQueries: [{ query: USER_SETTINGS }],
});
}
}