mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
fix(settings): Fix initialization of store
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
42517d9c34
commit
4a7fee32db
1 changed files with 3 additions and 3 deletions
|
|
@ -36,14 +36,14 @@ const defaults = {
|
|||
|
||||
const state = {
|
||||
users: [],
|
||||
groups: [...usersSettings.systemGroups],
|
||||
orderBy: usersSettings.sortGroups,
|
||||
groups: [...(usersSettings.systemGroups ?? [])],
|
||||
orderBy: usersSettings.sortGroups ?? GroupSorting.UserCount,
|
||||
minPasswordLength: 0,
|
||||
usersOffset: 0,
|
||||
usersLimit: 25,
|
||||
disabledUsersOffset: 0,
|
||||
disabledUsersLimit: 25,
|
||||
userCount: usersSettings.userCount,
|
||||
userCount: usersSettings.userCount ?? 0,
|
||||
showConfig: {
|
||||
showStoragePath: localStorage.getItem('account_settings__showStoragePath') === 'true',
|
||||
showUserBackend: localStorage.getItem('account_settings__showUserBackend') === 'true',
|
||||
|
|
|
|||
Loading…
Reference in a new issue