Code cleaned up

This commit is contained in:
Piotr Pekala 2019-01-16 04:11:19 -08:00
parent ed59d2ba02
commit 3a72e98201
3 changed files with 4 additions and 4 deletions

View File

@ -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) {}

View File

@ -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) {}

View File

@ -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() {