Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.0.0-b1
-
Component/s: None
-
Labels:None
Description
AdminAffiliates::enableAffiliateActions() adds items using the action and navigation models. One of these items is the affiliates link for admin nav menu which should be a subitem under the Clients nav item. Instead it is being added as a primary item. It should really just be skipped anyway since it already exists. Change:
if ($action->action == 'nav_secondary_staff') {
$nav_vars = ['parent_url' => 'clients/'];
}
To
if ($action->action == 'nav_staff') { continue; }