Code cleaned up

This commit is contained in:
Piotr Pekala
2019-09-02 05:43:36 -07:00
parent a146dfcb40
commit 4d2d7f6180
5 changed files with 34 additions and 5 deletions

View File

@ -36,15 +36,19 @@
[link]="links[0]"
[linkNode]="linkNodes[0]"
></app-edit-text-action>
<app-edit-config-action *ngIf="nodes.length===1"
<app-edit-config-action *ngIf="nodes.length===1 && nodes[0].node_type==='vpcs'"
[server]="server"
[project]="project"
[node]="nodes[0]"
></app-edit-config-action>
<app-export-config-action *ngIf="nodes.length===1"
<app-export-config-action *ngIf="nodes.length===1 && nodes[0].node_type==='vpcs'"
[server]="server"
[node]="nodes[0]"
></app-export-config-action>
<!-- <app-import-config-action *ngIf="nodes.length===1"
[server]="server"
[node]="nodes[0]"
></app-import-config-action> -->
<app-move-layer-up-action
*ngIf="!projectService.isReadOnly(project) && (drawings.length || nodes.length) && labels.length===0"
[server]="server"