diff --git a/web/src/pages/CertificatesPage.tsx b/web/src/pages/CertificatesPage.tsx index 6106faf..7a19f21 100644 --- a/web/src/pages/CertificatesPage.tsx +++ b/web/src/pages/CertificatesPage.tsx @@ -13,6 +13,7 @@ import type { Certificate } from '../api/types'; function CreateCertificateModal({ onClose, onSuccess }: { onClose: () => void; onSuccess: () => void }) { const [form, setForm] = useState({ + name: '', id: '', common_name: '', environment: 'production', @@ -35,6 +36,12 @@ function CreateCertificateModal({ onClose, onSuccess }: { onClose: () => void; o

New Certificate

{error &&
{error}
}
+
+ + setForm(f => ({ ...f, name: e.target.value }))} + className="w-full bg-white border border-surface-border rounded px-3 py-2 text-sm text-ink focus:outline-none focus:border-brand-400 focus:ring-1 focus:ring-brand-400/20" + placeholder="API Production Cert" /> +
setForm(f => ({ ...f, id: e.target.value }))} @@ -89,7 +96,7 @@ function CreateCertificateModal({ onClose, onSuccess }: { onClose: () => void; o