diff --git a/src/components/table-toolbar/KeycloakDataTable.tsx b/src/components/table-toolbar/KeycloakDataTable.tsx index c142002051..d50d0106b5 100644 --- a/src/components/table-toolbar/KeycloakDataTable.tsx +++ b/src/components/table-toolbar/KeycloakDataTable.tsx @@ -242,7 +242,6 @@ export function KeycloakDataTable({ return ( <> - {!rows && } {rows && (rows.length > 0 || !emptyState) && isPaginated && ( ({ searchTypeComponent={searchTypeComponent} toolbarItem={toolbarItem} > - + {!loading && ( + + )} {loading && } )} @@ -286,15 +287,18 @@ export function KeycloakDataTable({ toolbarItem={toolbarItem} searchTypeComponent={searchTypeComponent} > - + {!loading && ( + + )} + {loading && } )} <>{!loading && rows?.length === 0 && emptyState}