mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Canvas: Fix phantom connections persisting after element deletion (#87285)
This commit is contained in:
parent
386baf83cd
commit
68fa2110d6
@ -322,6 +322,9 @@ export function updateConnectionsForSource(element: ElementState, scene: Scene)
|
||||
const connections = sourceConnections.filter((con) => con.targetName !== element.getName());
|
||||
connection.source.onChange({ ...connection.source.options, connections });
|
||||
});
|
||||
|
||||
// Update scene connection state to clear out old connections
|
||||
scene.connections.updateState();
|
||||
}
|
||||
|
||||
export const calculateCoordinates = (
|
||||
|
Loading…
Reference in New Issue
Block a user