diff --git a/app/templates/element/subnavigation.php b/app/templates/element/subnavigation.php index 22f3461c2..eb41f1f40 100644 --- a/app/templates/element/subnavigation.php +++ b/app/templates/element/subnavigation.php @@ -290,8 +290,7 @@ print $this->Html->link( __d('controller', 'Properties', [99]), [ 'controller' => 'groups', - // TODO: the following test needs to be made based on read-only status of the group - 'action' => $curAction == 'view' ? 'view' : 'edit', + 'action' => $vv_primary_link_obj->isReadOnly() ? 'view' : 'edit', $curId ], ['class' => $linkClass]