fix lint issues

This commit is contained in:
mfrances 2021-06-01 16:09:16 -04:00
parent 63a365ad93
commit b9c38e811e
3 changed files with 6 additions and 6 deletions

View file

@ -81,17 +81,17 @@ export const AddRoleMappingModal = ({
client: client.id!,
}
);
}
// MF 052021 TODOs:
}
// MF 052021 TODOs:
// change if/elses to switches
// add a type for user-federation that pulls in all roles
// make id optional
// adminClient.roles.find
// roles = await adminClient.clients.listRoles(
// {
//
//
// id: client.id!
// }

View file

@ -85,7 +85,7 @@ function DataTable<T>({
? (_, rowIndex, isOpen) => onCollapse(isOpen, rowIndex)
: undefined
}
selectVariant={isRadio ? 'radio' : 'checkbox'}
selectVariant={isRadio ? "radio" : "checkbox"}
canSelectAll={canSelectAll}
cells={columns.map((column) => {
return { ...column, title: t(column.displayKey || column.name) };

View file

@ -45,7 +45,7 @@ export const LdapMapperHardcodedLdapRole = ({
{showAssign && (
// MF 042921 hardcoded for now, to see modal displayed
<AddRoleMappingModal
id="1a85c63a-99bd-4d16-9924-b38b8f7cceaf" // this is the ID for client-scopes > marks-client-scope
id="1a85c63a-99bd-4d16-9924-b38b8f7cceaf" // this is the ID for client-scopes > marks-client-scope
type="client-scope"
name="name"
// id={id}