Skip to content

Commit

Permalink
Fix Properties link for read only Groups (NOJIRA)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Oct 8, 2024
1 parent ae87777 commit dc706b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/templates/element/subnavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit dc706b7

Please sign in to comment.