fix(edge): generate new EdgeID only if not present (#7454)
parent
87accfce5d
commit
a750259a2c
|
@ -59,7 +59,7 @@ export function EdgeAgentTab({
|
|||
);
|
||||
|
||||
function handleCreate(environment: Environment) {
|
||||
setEdgeInfo({ key: environment.EdgeKey, id: uuid() });
|
||||
setEdgeInfo({ key: environment.EdgeKey, id: environment.EdgeID || uuid() });
|
||||
onCreate(environment);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue