Skip to content

Commit

Permalink
Revert "VACMS-16959: enabled Work with us parent menu item (#16975)"
Browse files Browse the repository at this point in the history
This reverts commit 0ef8e57.

This commit bypassed the root cause of the issue and hardcoded a bypass.
  • Loading branch information
swirtSJW committed Jan 24, 2024
1 parent 3a59e67 commit a476f9d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,7 @@ protected function applyVamcMenuRulesForDetailPage(array &$form) {

$menu_element_type = $this->getMenuItemType($alias);
$menu_element_type = $menu_element_type ?? $this->checkForSeparator($allowed_separators, $menu_item);
if (str_contains($subject_uuid['option'], 'Work with us')) {
// This is a special case where we want to allow the menu item
// to be enabled.
$menu_element_type = self::ENABLED;
}

$this->addAllowedParent($allowed_parents, $enabled_count, $menu_element_type, $subject_uuid);
}
}
Expand Down

0 comments on commit a476f9d

Please sign in to comment.