add api key code and oidc auto provision code

This commit is contained in:
miloschwartz
2025-04-28 21:14:09 -04:00
parent 4819f410e6
commit 599d0a52bf
84 changed files with 7021 additions and 151 deletions

View File

@@ -16,7 +16,7 @@ import CopyToClipboard from "@app/components/CopyToClipboard";
type LicenseKeysDataTableProps = {
licenseKeys: LicenseKeyCache[];
onDelete: (key: string) => void;
onDelete: (key: LicenseKeyCache) => void;
onCreate: () => void;
};
@@ -124,7 +124,7 @@ export function LicenseKeysDataTable({
<div className="flex items-center justify-end space-x-2">
<Button
variant="outlinePrimary"
onClick={() => onDelete(row.original.licenseKey)}
onClick={() => onDelete(row.original)}
>
Delete
</Button>