mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-28 04:54:16 +00:00
Make sure we have correct layer
This commit is contained in:
parent
e23e920278
commit
ef337d6a19
@ -11,7 +11,9 @@ export class LayersWidget implements Widget {
|
||||
|
||||
const layers_selection = view
|
||||
.selectAll<SVGGElement, Layer>('g.layer')
|
||||
.data(layers);
|
||||
.data(layers, (layer: Layer) => {
|
||||
return layer.index.toString();
|
||||
});
|
||||
|
||||
const layers_enter = layers_selection
|
||||
.enter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user