format after rebase
This commit is contained in:
parent
ec6af8b9ae
commit
c3c9625f6b
3 changed files with 7 additions and 8 deletions
|
@ -7,7 +7,7 @@ import { useAdminClient } from "../context/auth/AdminClient";
|
|||
import RoleRepresentation from "keycloak-admin/lib/defs/roleRepresentation";
|
||||
import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable";
|
||||
import { ListEmptyState } from "../components/list-empty-state/ListEmptyState";
|
||||
import { boolFormatter } from "../util"
|
||||
import { boolFormatter } from "../util";
|
||||
|
||||
export type AssociatedRolesModalProps = {
|
||||
open: boolean;
|
||||
|
@ -40,10 +40,10 @@ export const AssociatedRolesModal = (props: AssociatedRolesModalProps) => {
|
|||
|
||||
const loader = async () => {
|
||||
const allRoles = await adminClient.roles.find();
|
||||
const roles = allRoles.filter(x => x.name != name)
|
||||
const roles = allRoles.filter((x) => x.name != name);
|
||||
|
||||
return roles;
|
||||
}
|
||||
return roles;
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
(async () => {
|
||||
|
|
|
@ -71,7 +71,6 @@ export const RealmRolesSection = () => {
|
|||
},
|
||||
});
|
||||
|
||||
|
||||
const goToCreate = () => history.push(`${url}/add-role`);
|
||||
return (
|
||||
<>
|
||||
|
@ -96,7 +95,7 @@ export const RealmRolesSection = () => {
|
|||
setSelectedRole(role);
|
||||
toggleDeleteDialog();
|
||||
},
|
||||
}
|
||||
},
|
||||
]}
|
||||
columns={[
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue