mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 09:27:50 +00:00
feat: added key id column
This commit is contained in:
@@ -220,7 +220,7 @@ export const CmekTable = () => {
|
|||||||
<Table>
|
<Table>
|
||||||
<THead>
|
<THead>
|
||||||
<Tr className="h-14">
|
<Tr className="h-14">
|
||||||
<Th className="w-1/3">
|
<Th>
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
Name
|
Name
|
||||||
<IconButton
|
<IconButton
|
||||||
@@ -235,6 +235,7 @@ export const CmekTable = () => {
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
</div>
|
</div>
|
||||||
</Th>
|
</Th>
|
||||||
|
<Th>Key ID</Th>
|
||||||
<Th>Algorithm</Th>
|
<Th>Algorithm</Th>
|
||||||
<Th>Status</Th>
|
<Th>Status</Th>
|
||||||
<Th>Version</Th>
|
<Th>Version</Th>
|
||||||
@@ -242,7 +243,7 @@ export const CmekTable = () => {
|
|||||||
</Tr>
|
</Tr>
|
||||||
</THead>
|
</THead>
|
||||||
<TBody>
|
<TBody>
|
||||||
{isLoading && <TableSkeleton columns={4} innerKey="project-keys" />}
|
{isLoading && <TableSkeleton columns={5} innerKey="project-keys" />}
|
||||||
{!isLoading &&
|
{!isLoading &&
|
||||||
keys.length > 0 &&
|
keys.length > 0 &&
|
||||||
keys.map((cmek) => {
|
keys.map((cmek) => {
|
||||||
@@ -252,7 +253,7 @@ export const CmekTable = () => {
|
|||||||
return (
|
return (
|
||||||
<Tr className="group h-10 hover:bg-mineshaft-700" key={`st-v3-${id}`}>
|
<Tr className="group h-10 hover:bg-mineshaft-700" key={`st-v3-${id}`}>
|
||||||
<Td>
|
<Td>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2 ">
|
||||||
{name}
|
{name}
|
||||||
{description && (
|
{description && (
|
||||||
<Tooltip content={description}>
|
<Tooltip content={description}>
|
||||||
@@ -264,6 +265,7 @@ export const CmekTable = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Td>
|
</Td>
|
||||||
|
<Td>{id}</Td>
|
||||||
<Td className="uppercase">{encryptionAlgorithm}</Td>
|
<Td className="uppercase">{encryptionAlgorithm}</Td>
|
||||||
<Td>
|
<Td>
|
||||||
<Badge variant={variant}>{label}</Badge>
|
<Badge variant={variant}>{label}</Badge>
|
||||||
|
|||||||
Reference in New Issue
Block a user