diff options
Diffstat (limited to 'apps/files/src/store/userconfig.ts')
-rw-r--r-- | apps/files/src/store/userconfig.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/src/store/userconfig.ts b/apps/files/src/store/userconfig.ts index cbd3f71600a..c5f34c2dbe0 100644 --- a/apps/files/src/store/userconfig.ts +++ b/apps/files/src/store/userconfig.ts @@ -27,12 +27,13 @@ import { loadState } from '@nextcloud/initial-state' import axios from '@nextcloud/axios' import Vue from 'vue' -const userConfig = loadState('files', 'config', { +const userConfig = loadState<UserConfig>('files', 'config', { show_hidden: false, crop_image_previews: true, sort_favorites_first: true, + sort_folders_first: true, grid_view: false, -}) as UserConfig +}) export const useUserConfigStore = function(...args) { const store = defineStore('userconfig', { |