mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 09:48:07 +02: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({});
|
const [detail, setDetail] = useState({});
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
getFrontendDetail(props.selection.id)
|
getFrontendDetail(props.selection.feId)
|
||||||
.then(resp => {
|
.then(resp => {
|
||||||
setDetail(resp.data);
|
setDetail(resp.data);
|
||||||
});
|
});
|
||||||
|
@ -74,7 +74,8 @@ export const mergeGraph = (oldGraph, user, accountLimited, newOverview) => {
|
|||||||
if(env.frontends) {
|
if(env.frontends) {
|
||||||
env.frontends.forEach(fe => {
|
env.frontends.forEach(fe => {
|
||||||
let feNode = {
|
let feNode = {
|
||||||
id: fe.id,
|
id: "fe:" + fe.id,
|
||||||
|
feId: fe.id,
|
||||||
target: fe.shrToken,
|
target: fe.shrToken,
|
||||||
label: fe.shrToken,
|
label: fe.shrToken,
|
||||||
type: "frontend",
|
type: "frontend",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user