Fix apollo cache not being properly set after picking close city
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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 }],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user