diff options
Diffstat (limited to 'apps/theming/src/components/UserPrimaryColor.vue')
-rw-r--r-- | apps/theming/src/components/UserPrimaryColor.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/theming/src/components/UserPrimaryColor.vue b/apps/theming/src/components/UserPrimaryColor.vue index 7adfabecddd..f10b8a01825 100644 --- a/apps/theming/src/components/UserPrimaryColor.vue +++ b/apps/theming/src/components/UserPrimaryColor.vue @@ -31,14 +31,14 @@ import { loadState } from '@nextcloud/initial-state' import { translate as t } from '@nextcloud/l10n' import { generateOcsUrl } from '@nextcloud/router' import { colord } from 'colord' -import { debounce } from 'debounce' import { defineComponent } from 'vue' - import axios from '@nextcloud/axios' -import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' -import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js' -import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' -import IconColorPalette from 'vue-material-design-icons/Palette.vue' +import debounce from 'debounce' + +import NcButton from '@nextcloud/vue/components/NcButton' +import NcColorPicker from '@nextcloud/vue/components/NcColorPicker' +import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon' +import IconColorPalette from 'vue-material-design-icons/PaletteOutline.vue' import IconUndo from 'vue-material-design-icons/UndoVariant.vue' const { primaryColor, defaultPrimaryColor } = loadState('theming', 'data', { primaryColor: '#0082c9', defaultPrimaryColor: '#0082c9' }) @@ -69,7 +69,7 @@ export default defineComponent({ }, debouncedOnUpdate() { - return debounce(this.onUpdate, 500) + return debounce(this.onUpdate, 1000) }, }, |