fix(admin): stop returning auth method on table

This commit is contained in:
Mahyar Mirrashed
2025-03-11 14:30:04 -07:00
parent 627e17b3ae
commit 1a06b3e1f5
2 changed files with 3 additions and 8 deletions

View File

@@ -47,20 +47,16 @@ const IdentityPanelTable = () => {
<Table>
<THead>
<Tr>
<Th className="w-1/2">Name</Th>
<Th className="w-1/2">Auth Method</Th>
<Th>Name</Th>
</Tr>
</THead>
<TBody>
{isPending && <TableSkeleton columns={2} innerKey="identities" />}
{!isPending &&
data?.pages?.map((identities) =>
identities.map(({ name, authMethod, id }) => (
identities.map(({ name, id }) => (
<Tr key={`identity-${id}`} className="w-full">
<Td className="w-1/2">{name}</Td>
<Td className="w-1/2">
{authMethod || <span className={"italic text-mineshaft-400"}>None</span>}
</Td>
<Td>{name}</Td>
</Tr>
))
)}