diff --git a/src/app/project-map/project-map.component.html b/src/app/project-map/project-map.component.html index 15c4b6cb..8a437510 100644 --- a/src/app/project-map/project-map.component.html +++ b/src/app/project-map/project-map.component.html @@ -21,7 +21,7 @@ - + @@ -33,20 +33,20 @@ - + - + - + diff --git a/src/app/shared/node-context-menu/node-context-menu.component.html b/src/app/shared/node-context-menu/node-context-menu.component.html index 986aceaf..bd0a086b 100644 --- a/src/app/shared/node-context-menu/node-context-menu.component.html +++ b/src/app/shared/node-context-menu/node-context-menu.component.html @@ -3,7 +3,7 @@ - - + + diff --git a/src/app/shared/node-context-menu/node-context-menu.component.ts b/src/app/shared/node-context-menu/node-context-menu.component.ts index f37b1a8f..1fda55c5 100644 --- a/src/app/shared/node-context-menu/node-context-menu.component.ts +++ b/src/app/shared/node-context-menu/node-context-menu.component.ts @@ -1,8 +1,9 @@ -import {ChangeDetectorRef, Component, Input, OnInit, ViewChild} from '@angular/core'; -import {MatMenuTrigger} from "@angular/material"; -import {DomSanitizer} from "@angular/platform-browser"; -import {Node} from "../../cartography/shared/models/node"; -import {Server} from "../models/server"; +import { ChangeDetectorRef, Component, Input, OnInit, ViewChild } from '@angular/core'; +import { MatMenuTrigger } from "@angular/material"; +import { DomSanitizer } from "@angular/platform-browser"; +import { Node } from "../../cartography/shared/models/node"; +import { Server } from "../models/server"; +import { Project } from "../models/project"; @Component({ @@ -11,6 +12,7 @@ import {Server} from "../models/server"; styleUrls: ['./node-context-menu.component.scss'] }) export class NodeContextMenuComponent implements OnInit { + @Input() project: Project; @Input() server: Server; @ViewChild(MatMenuTrigger) contextMenu: MatMenuTrigger;