Don't show edit actions for the unbound nodes tile

This commit is contained in:
Eric Lippmann 2018-08-14 10:37:44 +02:00
parent 7c491496fa
commit 7cb7f40e87

View file

@ -278,7 +278,9 @@ class NodeTile extends BaseElement
));
}
if (! $this->renderer->getBusinessProcess()->getMetadata()->canModify()) {
if (! $this->renderer->getBusinessProcess()->getMetadata()->canModify()
|| $node->getName() === '__unbound__'
) {
return;
}