From 4f88e41fc763a291bff4f36d32f06be9ac29c2ee Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 21 Mar 2023 11:37:49 +0100 Subject: [PATCH] Filter out disabled user storage providers (#19063) --- js/apps/admin-ui/src/user/UsersSection.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/apps/admin-ui/src/user/UsersSection.tsx b/js/apps/admin-ui/src/user/UsersSection.tsx index a8ee972545..6f80eaa3d7 100644 --- a/js/apps/admin-ui/src/user/UsersSection.tsx +++ b/js/apps/admin-ui/src/user/UsersSection.tsx @@ -100,7 +100,9 @@ export default function UsersSection() { } }, ([storageProviders, realm]) => { - setUserStorage(storageProviders); + setUserStorage( + storageProviders.filter((p) => p.config?.enabled[0] === "true") + ); setRealm(realm); }, []