Fix apollo cache not being properly set after picking close city
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
fcc3fe746e
commit
0a482d238e
|
@ -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 }],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue