diff --git a/apps/dashboard/app/(app)/apis/[apiId]/keys/[keyAuthId]/keys.tsx b/apps/dashboard/app/(app)/apis/[apiId]/keys/[keyAuthId]/keys.tsx index c1ea26804..0f8d79214 100644 --- a/apps/dashboard/app/(app)/apis/[apiId]/keys/[keyAuthId]/keys.tsx +++ b/apps/dashboard/app/(app)/apis/[apiId]/keys/[keyAuthId]/keys.tsx @@ -34,6 +34,7 @@ export const Keys: React.FC = async ({ keyAuthId, apiId }) => { start: string | null; roles: number; permissions: number; + enabled: boolean; environment: string | null; }[]; }; @@ -48,6 +49,7 @@ export const Keys: React.FC = async ({ keyAuthId, apiId }) => { name: curr.name, start: curr.start, roles: curr.roles.length, + enabled: curr.enabled, permissions: curr.permissions.length, environment: curr.environment, }); @@ -120,6 +122,8 @@ export const Keys: React.FC = async ({ keyAuthId, apiId }) => { {Intl.NumberFormat(undefined, { notation: "compact" }).format(k.roles)} Role {k.roles !== 1 ? "s" : ""} + + {!k.enabled && Disabled}