From 9cfe3985d09486e6696f1d57216bc4f3b0f8345b Mon Sep 17 00:00:00 2001
From: hsiegeln <37154749+hsiegeln@users.noreply.github.com>
Date: Thu, 23 Apr 2026 17:12:12 +0200
Subject: [PATCH] refactor(ui): route CheckpointsTable via
IdentitySection.checkpointsSlot
---
.../pages/AppsTab/AppDeploymentPage/index.tsx | 38 +++++++++----------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx b/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx
index af2229be..7918cbb1 100644
--- a/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx
+++ b/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx
@@ -469,9 +469,8 @@ export default function AppDeploymentPage() {
stagedJar={stagedJar}
onStagedJarChange={setStagedJar}
deploying={deploymentInProgress}
- >
- {app && (
- <>
+ checkpointsSlot={
+ app ? (
- {selectedDep && (
- setSelectedCheckpointId(null)}
- deployment={selectedDep}
- version={selectedDepVersion}
- appSlug={app.slug}
- envSlug={selectedEnv ?? ''}
- currentForm={form}
- onRestore={(deploymentId) => {
- handleRestore(deploymentId);
- setSelectedCheckpointId(null);
- }}
- />
- )}
- >
+ ) : undefined
+ }
+ >
+ {app && selectedDep && (
+ setSelectedCheckpointId(null)}
+ deployment={selectedDep}
+ version={selectedDepVersion}
+ appSlug={app.slug}
+ envSlug={selectedEnv ?? ''}
+ currentForm={form}
+ onRestore={(deploymentId) => {
+ handleRestore(deploymentId);
+ setSelectedCheckpointId(null);
+ }}
+ />
)}