mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-21 07:58:25 +00:00
Duplication option added
This commit is contained in:
@ -81,6 +81,10 @@ export class MockedNodeService {
|
||||
reloadAll(server: Server, project: Project) {
|
||||
return of();
|
||||
}
|
||||
|
||||
duplicate(server: Server, node: Node) {
|
||||
return of(node);
|
||||
}
|
||||
}
|
||||
|
||||
export class MockedDrawingService {
|
||||
@ -91,6 +95,10 @@ export class MockedDrawingService {
|
||||
return of(this.drawing);
|
||||
}
|
||||
|
||||
duplicate(server: Server, project_id: string, drawing: Drawing) {
|
||||
return of(drawing);
|
||||
}
|
||||
|
||||
updatePosition(_server: Server, _drawing: Drawing, _x: number, _y: number) {
|
||||
return of(this.drawing);
|
||||
}
|
||||
|
Reference in New Issue
Block a user