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 }>({
|
await this.$apollo.mutate<{ setUserSetting: string }>({
|
||||||
mutation: SET_USER_SETTINGS,
|
mutation: SET_USER_SETTINGS,
|
||||||
variables: userSettings,
|
variables: userSettings,
|
||||||
|
refetchQueries: [{ query: USER_SETTINGS }],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user