Merge remote-tracking branch 'origin/develop' into sss-objects
This commit is contained in:
commit
984164d206
23 changed files with 228 additions and 217 deletions
|
|
@ -109,15 +109,15 @@ const config = {
|
|||
|
||||
const confirm = () => {
|
||||
dispatch('setOption', { name, value })
|
||||
commit('clearTemporaryChanges')
|
||||
useInterfaceStore().clearTemporaryChanges()
|
||||
}
|
||||
|
||||
const revert = () => {
|
||||
commit('setOptionTemporarily', { name, value: oldValue })
|
||||
commit('clearTemporaryChanges')
|
||||
useInterfaceStore().clearTemporaryChanges()
|
||||
}
|
||||
|
||||
commit('setTemporaryChanges', {
|
||||
useInterfaceStore().setTemporaryChanges({
|
||||
timeoutId: setTimeout(revert, 10000),
|
||||
confirm,
|
||||
revert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue