mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
use a synthetic 'node.id' for frontend nodes to fix 'undulating visualizer' issue; change detection was breaking (#323)
This commit is contained in:
parent
7963ba83b0
commit
d205405aa0
@ -9,7 +9,7 @@ const AccessDetail = (props) => {
|
||||
const [detail, setDetail] = useState({});
|
||||
|
||||
useEffect(() => {
|
||||
getFrontendDetail(props.selection.id)
|
||||
getFrontendDetail(props.selection.feId)
|
||||
.then(resp => {
|
||||
setDetail(resp.data);
|
||||
});
|
||||
|
@ -74,7 +74,8 @@ export const mergeGraph = (oldGraph, user, accountLimited, newOverview) => {
|
||||
if(env.frontends) {
|
||||
env.frontends.forEach(fe => {
|
||||
let feNode = {
|
||||
id: fe.id,
|
||||
id: "fe:" + fe.id,
|
||||
feId: fe.id,
|
||||
target: fe.shrToken,
|
||||
label: fe.shrToken,
|
||||
type: "frontend",
|
||||
|
Loading…
Reference in New Issue
Block a user