Update visibility-picker.vue

This commit is contained in:
syuilo 2020-09-20 19:43:10 +09:00
parent c547173427
commit 7b9280cef8
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ export default defineComponent({
},
methods: {
choose(visibility) {
this.v = visibility;
if (this.$store.state.settings.rememberNoteVisibility) {
this.$store.commit('deviceUser/setVisibility', visibility);
}