mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-21 07:58:25 +00:00
Update link.service.ts
This commit is contained in:
@ -55,8 +55,8 @@ export class LinkService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateLink(server: Server, link: Link) {
|
updateLink(server: Server, link: Link) {
|
||||||
// link.x = Math.round(link.x);
|
link.x = Math.round(link.x);
|
||||||
// link.y = Math.round(link.y);
|
link.y = Math.round(link.y);
|
||||||
|
|
||||||
return this.httpServer.put<Link>(server, `/projects/${link.project_id}/links/${link.link_id}`, link);
|
return this.httpServer.put<Link>(server, `/projects/${link.project_id}/links/${link.link_id}`, link);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user