mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Increase background and primary color debounce time
This prevent flooding the server with requests Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
271552d70d
commit
1a0fdaa01b
2 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ export default {
|
|||
|
||||
debouncePickColor: debounce(function(...args) {
|
||||
this.pickColor(...args)
|
||||
}, 200),
|
||||
}, 1000),
|
||||
|
||||
pickFile() {
|
||||
const picker = getFilePickerBuilder(t('theming', 'Select a background from your files'))
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
debouncedOnUpdate() {
|
||||
return debounce(this.onUpdate, 500)
|
||||
return debounce(this.onUpdate, 1000)
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue