refactor(ui): route CheckpointsTable via IdentitySection.checkpointsSlot
This commit is contained in:
@@ -469,9 +469,8 @@ export default function AppDeploymentPage() {
|
|||||||
stagedJar={stagedJar}
|
stagedJar={stagedJar}
|
||||||
onStagedJarChange={setStagedJar}
|
onStagedJarChange={setStagedJar}
|
||||||
deploying={deploymentInProgress}
|
deploying={deploymentInProgress}
|
||||||
>
|
checkpointsSlot={
|
||||||
{app && (
|
app ? (
|
||||||
<>
|
|
||||||
<CheckpointsTable
|
<CheckpointsTable
|
||||||
deployments={deployments}
|
deployments={deployments}
|
||||||
versions={versions}
|
versions={versions}
|
||||||
@@ -479,7 +478,10 @@ export default function AppDeploymentPage() {
|
|||||||
jarRetentionCount={jarRetentionCount}
|
jarRetentionCount={jarRetentionCount}
|
||||||
onSelect={setSelectedCheckpointId}
|
onSelect={setSelectedCheckpointId}
|
||||||
/>
|
/>
|
||||||
{selectedDep && (
|
) : undefined
|
||||||
|
}
|
||||||
|
>
|
||||||
|
{app && selectedDep && (
|
||||||
<CheckpointDetailDrawer
|
<CheckpointDetailDrawer
|
||||||
open
|
open
|
||||||
onClose={() => setSelectedCheckpointId(null)}
|
onClose={() => setSelectedCheckpointId(null)}
|
||||||
@@ -494,8 +496,6 @@ export default function AppDeploymentPage() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</IdentitySection>
|
</IdentitySection>
|
||||||
|
|
||||||
{/* ── Config tabs ── */}
|
{/* ── Config tabs ── */}
|
||||||
|
|||||||
Reference in New Issue
Block a user