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 RoleRepresentation from "keycloak-admin/lib/defs/roleRepresentation";
import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable"; import { KeycloakDataTable } from "../components/table-toolbar/KeycloakDataTable";
import { ListEmptyState } from "../components/list-empty-state/ListEmptyState"; import { ListEmptyState } from "../components/list-empty-state/ListEmptyState";
import { boolFormatter } from "../util" import { boolFormatter } from "../util";
export type AssociatedRolesModalProps = { export type AssociatedRolesModalProps = {
open: boolean; open: boolean;
@ -40,10 +40,10 @@ export const AssociatedRolesModal = (props: AssociatedRolesModalProps) => {
const loader = async () => { const loader = async () => {
const allRoles = await adminClient.roles.find(); 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(() => { useEffect(() => {
(async () => { (async () => {

View file

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

View file

@ -71,7 +71,6 @@ export const RealmRolesSection = () => {
}, },
}); });
const goToCreate = () => history.push(`${url}/add-role`); const goToCreate = () => history.push(`${url}/add-role`);
return ( return (
<> <>
@ -96,7 +95,7 @@ export const RealmRolesSection = () => {
setSelectedRole(role); setSelectedRole(role);
toggleDeleteDialog(); toggleDeleteDialog();
}, },
} },
]} ]}
columns={[ columns={[
{ {