Skip to content

Commit

Permalink
wip: refactor helm cluster page, add view node page
Browse files Browse the repository at this point in the history
  • Loading branch information
alicenstar committed Oct 16, 2023
1 parent d583c73 commit 420b1b5
Show file tree
Hide file tree
Showing 5 changed files with 634 additions and 359 deletions.
4 changes: 3 additions & 1 deletion web/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import SnapshotDetails from "@components/snapshots/SnapshotDetails";
import SnapshotRestore from "@components/snapshots/SnapshotRestore";
import AppSnapshots from "@components/snapshots/AppSnapshots";
import AppSnapshotRestore from "@components/snapshots/AppSnapshotRestore";
import HelmVMViewNode from "@components/apps/HelmVMViewNode";

// react-query client
const queryClient = new QueryClient();
Expand Down Expand Up @@ -579,10 +580,11 @@ const Root = () => {
state.adminConsoleMetadata?.isKurl ? (
<KurlClusterManagement appName={state.selectedAppName} />
) : (
<HelmVMClusterManagement appName={state.selectedAppName} />
<HelmVMClusterManagement />
)
}
/>
<Route path="/cluster/:nodeId" element={<HelmVMViewNode />} />
<Route
path="/gitops"
element={<GitOps appName={state.selectedAppName || ""} />}
Expand Down
Loading

0 comments on commit 420b1b5

Please sign in to comment.