Initial implementation

This commit is contained in:
Piotr Pekala
2019-05-31 07:24:28 -07:00
parent 889c48be65
commit 7342436948
9 changed files with 94 additions and 32 deletions

View File

@ -14,10 +14,11 @@
[drawing]="drawings[0]"
></app-edit-style-action>
<app-edit-text-action
*ngIf="drawings.length===1 && hasTextCapabilities"
*ngIf="drawings.length===1 && hasTextCapabilities || labels.length===1"
[server]="server"
[project]="project"
[drawing]="drawings[0]"
[label]="labels[0]"
></app-edit-text-action>
<app-move-layer-up-action
*ngIf="!projectService.isReadOnly(project) && (drawings.length || nodes.length)"
@ -60,7 +61,7 @@
[link]="links[0]"
></app-suspend-link-action>
<app-delete-action
*ngIf="!projectService.isReadOnly(project)"
*ngIf="!projectService.isReadOnly(project) && (drawings.length>0 || nodes.length>0 || links.length>0)"
[server]="server"
[nodes]="nodes"
[drawings]="drawings"