mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-15 21:38:08 +00:00
Fix for selecting issue
This commit is contained in:
@ -14,7 +14,10 @@
|
||||
[drawing]="drawings[0]"
|
||||
></app-edit-style-action>
|
||||
<app-edit-text-action
|
||||
*ngIf="!projectService.isReadOnly(project) && drawings.length===1 && hasTextCapabilities || labels.length===1 || linkNodes.length===1"
|
||||
*ngIf="!projectService.isReadOnly(project) &&
|
||||
(drawings.length===1 && hasTextCapabilities && labels.length===0 && linkNodes.length===0 ||
|
||||
labels.length===1 && linkNodes.length===0 && drawings.length===0 ||
|
||||
linkNodes.length===1 && labels.length===0 && drawings.length===0)"
|
||||
[server]="server"
|
||||
[project]="project"
|
||||
[drawing]="drawings[0]"
|
||||
@ -64,7 +67,7 @@
|
||||
[link]="links[0]"
|
||||
></app-suspend-link-action>
|
||||
<app-delete-action
|
||||
*ngIf="!projectService.isReadOnly(project) && (drawings.length>0 || nodes.length>0 || links.length>0) && linkNodes.length === 0 && labels.length===0"
|
||||
*ngIf="!projectService.isReadOnly(project) && (drawings.length>0 || nodes.length>0 || links.length>0) && linkNodes.length === 0"
|
||||
[server]="server"
|
||||
[nodes]="nodes"
|
||||
[drawings]="drawings"
|
||||
|
Reference in New Issue
Block a user