setOption pass 1
This commit is contained in:
parent
f62e0c5718
commit
6124d9c04c
12 changed files with 39 additions and 40 deletions
|
|
@ -52,8 +52,8 @@ const ClutterTab = {
|
|||
if (value !== 'ask' && value !== 'forever') {
|
||||
realValue = '14d'
|
||||
}
|
||||
this.$store.dispatch('setOption', {
|
||||
name: 'onMuteDefaultAction',
|
||||
useSyncConfigStore().setPreference({
|
||||
path: 'simple.onMuteDefaultAction',
|
||||
value: realValue,
|
||||
})
|
||||
},
|
||||
|
|
@ -72,8 +72,8 @@ const ClutterTab = {
|
|||
if (value !== 'ask' && value !== 'forever') {
|
||||
realValue = '14d'
|
||||
}
|
||||
this.$store.dispatch('setOption', {
|
||||
name: 'onBlockDefaultAction',
|
||||
useSyncConfigStore().setPreference({
|
||||
path: 'simple.onBlockDefaultAction',
|
||||
value: realValue,
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue