feat:
--Added websockets
This commit is contained in:
1 parent
3d0d02d06c
commit
8f43344c84
4 files changed
+193
-1
No files matched your search
@@ -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 && (
|
||||
|
||||
Reference in new issue
Block a user