format after rebase

This commit is contained in:
jenny-s51 2021-01-25 10:52:53 -05:00
parent ec6af8b9ae
commit c3c9625f6b
3 changed files with 7 additions and 8 deletions

View file

@ -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)
return roles;
}
const roles = allRoles.filter((x) => x.name != name);
return roles;
};
useEffect(() => {
(async () => {

View file

@ -87,4 +87,4 @@ export const RealmRoleForm = ({
</ActionGroup>
</FormAccess>
);
};
};

View file

@ -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={[
{