mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-23 00:49:01 +00:00
Fix label of added node (when GUI is not running). Fixes #292
This commit is contained in:
@ -279,6 +279,7 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
|
||||
|
||||
nodes.filter((node) => node.label.style === null).forEach((node) => {
|
||||
const fixedNode = this.nodeCreatedLabelStylesFixer.fix(node);
|
||||
this.nodeService.updateLabel(this.server, node, fixedNode.label).subscribe();
|
||||
});
|
||||
|
||||
this.nodesDataSource.set(nodes);
|
||||
|
Reference in New Issue
Block a user