Merge branch 'fix-preferences' into 'master'
Fix notification settings not displaying as saved See merge request framasoft/mobilizon!678
This commit is contained in:
commit
10465bebdd
|
@ -22,10 +22,10 @@
|
||||||
"Mobilizon will send you an email when the events you are attending have important changes: date and time, address, confirmation or cancellation, etc."
|
"Mobilizon will send you an email when the events you are attending have important changes: date and time, address, confirmation or cancellation, etc."
|
||||||
)
|
)
|
||||||
}}</strong>
|
}}</strong>
|
||||||
|
</div>
|
||||||
<p>
|
<p>
|
||||||
{{ $t("Other notification options:") }}
|
{{ $t("Other notification options:") }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<b-checkbox v-model="notificationOnDay" @input="updateSetting({ notificationOnDay })">
|
<b-checkbox v-model="notificationOnDay" @input="updateSetting({ notificationOnDay })">
|
||||||
<strong>{{ $t("Notification on the day of the event") }}</strong>
|
<strong>{{ $t("Notification on the day of the event") }}</strong>
|
||||||
|
@ -149,6 +149,7 @@ export default class Notifications extends Vue {
|
||||||
await this.$apollo.mutate<{ setUserSettings: string }>({
|
await this.$apollo.mutate<{ setUserSettings: string }>({
|
||||||
mutation: SET_USER_SETTINGS,
|
mutation: SET_USER_SETTINGS,
|
||||||
variables,
|
variables,
|
||||||
|
refetchQueries: [{ query: USER_SETTINGS }],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue