mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-03 03:26:42 +00:00
Update link.service.ts
This commit is contained in:
parent
c78517c22e
commit
206242dba9
@ -55,6 +55,9 @@ export class LinkService {
|
||||
}
|
||||
|
||||
updateLink(server: Server, link: Link) {
|
||||
link.x = Math.round(link.x);
|
||||
link.y = Math.round(link.y);
|
||||
|
||||
return this.httpServer.put<Link>(server, `/projects/${link.project_id}/links/${link.link_id}`, link);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user