Filter out disabled user storage providers (#19063)
This commit is contained in:
parent
6b9dbc32e9
commit
4f88e41fc7
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ export default function UsersSection() {
|
|||
}
|
||||
},
|
||||
([storageProviders, realm]) => {
|
||||
setUserStorage(storageProviders);
|
||||
setUserStorage(
|
||||
storageProviders.filter((p) => p.config?.enabled[0] === "true")
|
||||
);
|
||||
setRealm(realm);
|
||||
},
|
||||
[]
|
||||
|
|
Loading…
Reference in a new issue