mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(edge): generate new EdgeID only if not present (#7454)
This commit is contained in:
parent
87accfce5d
commit
a750259a2c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue