mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-09 03:24:13 +00:00
Code cleaned up
This commit is contained in:
parent
ed59d2ba02
commit
3a72e98201
@ -10,7 +10,7 @@ import { Node } from '../../../../../cartography/models/node';
|
||||
export class StartNodeActionComponent implements OnInit {
|
||||
@Input() server: Server;
|
||||
@Input() nodes: Node[];
|
||||
private isNodeWithStoppedStatus: boolean;
|
||||
isNodeWithStoppedStatus: boolean;
|
||||
|
||||
constructor(private nodeService: NodeService) {}
|
||||
|
||||
|
@ -10,7 +10,7 @@ import { Node } from '../../../../../cartography/models/node';
|
||||
export class StopNodeActionComponent implements OnInit {
|
||||
@Input() server: Server;
|
||||
@Input() nodes: Node[];
|
||||
private isNodeWithStartedStatus: boolean;
|
||||
isNodeWithStartedStatus: boolean;
|
||||
|
||||
constructor(private nodeService: NodeService) {}
|
||||
|
||||
|
@ -28,12 +28,12 @@ export class ContextMenuComponent implements OnInit {
|
||||
nodes: Node[] = [];
|
||||
labels: Label[] = [];
|
||||
|
||||
private hasTextCapabilities: boolean = false;
|
||||
hasTextCapabilities: boolean = false;
|
||||
|
||||
constructor(
|
||||
private sanitizer: DomSanitizer,
|
||||
private changeDetector: ChangeDetectorRef,
|
||||
protected projectService: ProjectService
|
||||
public projectService: ProjectService
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user