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