Merge pull request #396 from nextcloud/fix/save_options
Fix saving options on fast proceed
This commit is contained in:
commit
31a446e87b
1 changed files with 5 additions and 3 deletions
|
|
@ -58,6 +58,11 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
queue: new PQueue({ concurrency: 1 }),
|
||||
|
||||
// As data instead of Method, to have a separate debounce per AnswerInput
|
||||
debounceUpdateAnswer: pDebounce(function(answer) {
|
||||
return this.queue.add(() => this.updateAnswer(answer))
|
||||
}, 500),
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -178,9 +183,6 @@ export default {
|
|||
console.error(error)
|
||||
}
|
||||
},
|
||||
debounceUpdateAnswer: pDebounce(function(answer) {
|
||||
return this.queue.add(() => this.updateAnswer(answer))
|
||||
}, 500),
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue