Update context-menu.component.html

This commit is contained in:
Piotr Pekala 2019-09-24 04:14:57 -07:00
parent 679a0d02bb
commit 53b85fa57f

View File

@ -85,17 +85,25 @@
[drawings]="drawings" [drawings]="drawings"
></app-bring-to-front-action> ></app-bring-to-front-action>
<app-start-capture-action <app-start-capture-action
*ngIf="!projectService.isReadOnly(project) && isBundledServer *ngIf="!projectService.isReadOnly(project)
&& drawings.length===0 && nodes.length===0 && links.length===1" && drawings.length===0 && nodes.length===0 && links.length===1"
[server]="server" [server]="server"
[project]="project"
[link]="links[0]" [link]="links[0]"
></app-start-capture-action> ></app-start-capture-action>
<app-stop-capture-action <app-stop-capture-action
*ngIf="!projectService.isReadOnly(project) && isBundledServer *ngIf="!projectService.isReadOnly(project)
&& drawings.length===0 && nodes.length===0 && links.length===1 && linkNodes.length === 0" && drawings.length===0 && nodes.length===0 && links.length===1 && linkNodes.length === 0"
[server]="server" [server]="server"
[link]="links[0]" [link]="links[0]"
></app-stop-capture-action> ></app-stop-capture-action>
<app-start-capture-on-started-link-action
*ngIf="!projectService.isReadOnly(project)
&& drawings.length===0 && nodes.length===0 && links.length===1 && linkNodes.length === 0"
[server]="server"
[project]="project"
[link]="links[0]"
></app-start-capture-on-started-link-action>
<app-packet-filters-action <app-packet-filters-action
*ngIf="!projectService.isReadOnly(project) && drawings.length===0 && nodes.length===0 && links.length===1 && linkNodes.length === 0" *ngIf="!projectService.isReadOnly(project) && drawings.length===0 && nodes.length===0 && links.length===1 && linkNodes.length === 0"
[server]="server" [server]="server"