Enable VisualEnhancementNext

Additional changes:
* More defensively check for link-class which may or may not
exist on menu items

Bug: T320101
Change-Id: Ifbd913c82933d9a8cc276d070b2b3f3ebb77c9c1
This commit is contained in:
Jon Robson 2022-11-07 14:49:24 -08:00 committed by Jdlrobson
parent 1657cbc6bd
commit 5205378a8e
2 changed files with 2 additions and 2 deletions

View file

@ -344,7 +344,7 @@ class Hooks implements
$content_navigation[$overflow][$key] = $data;
$icon = $data['icon'] ?? null;
if ( $visualEnhancements && $icon ) {
$linkClass = $content_navigation[$overflow][$key]['link-class'];
$linkClass = $content_navigation[$overflow][$key]['link-class'] ?? [];
$item = $content_navigation[$overflow][$key];
$newLinkClass = [
// Allows Echo to react to clicks

View file

@ -482,7 +482,7 @@
},
"config": {
"VectorVisualEnhancementNext": {
"value": false,
"value": true,
"description": "Temporary configuration flag for enabling in development enhancements."
},
"Vector2022PreviewPages": {