feat(ui): IdentitySection accepts checkpointsSlot rendered inside configGrid

This commit is contained in:
hsiegeln
2026-04-23 17:01:52 +02:00
parent 663a6624a7
commit 77f5c82dfe

View File

@@ -25,12 +25,14 @@ interface IdentitySectionProps {
stagedJar: File | null;
onStagedJarChange: (file: File | null) => void;
deploying: boolean;
checkpointsSlot?: ReactNode;
children?: ReactNode;
}
export function IdentitySection({
mode, environment, app, currentVersion,
name, onNameChange, stagedJar, onStagedJarChange, deploying, children,
name, onNameChange, stagedJar, onStagedJarChange, deploying,
checkpointsSlot, children,
}: IdentitySectionProps) {
const fileInputRef = useRef<HTMLInputElement>(null);
const slug = app?.slug ?? slugify(name);
@@ -109,6 +111,8 @@ export function IdentitySection({
</span>
)}
</div>
{checkpointsSlot}
</div>
{children}
</div>