--Added websockets
This commit is contained in:
george committed 2026-09-22 12:27:05 +05:30
1 parent 3d0d02d06c
commit 8f43344c84
4 files changed
+193 -1

No files matched your search

+4
View File
@@ -1,6 +1,7 @@
import { useEffect, useState } from 'react'
import { Link, Navigate, Route, Routes, useMatch, useNavigate, useParams } from 'react-router-dom'
import './App.css'
import NodeConnections from './NodeConnections'
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL
@@ -615,6 +616,9 @@ function Workspace({ page: activePage }: { page: PageId | 'node-details' }) {
Back to cluster
</button>
</div>
{clusterDetails.nodes.some((node) => node.uuid === nodeId) && (
<NodeConnections key={`${clusterId}/${nodeId}`} />
)}
</section>
)}
{activePage === 'cluster-details' && clusterDetails && (