-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(masthead-l1): set default active item based on host & pathname (#…
…12106) ### Related Ticket(s) https://jsw.ibm.com/browse/ADCMS-6689 ### Description Modifies the fallback behavior of marking the "active" L1 items. Note how the L1 behaves on https://www.ibm.com/products/watsonx-orchestrate/ai-agent-for-hr <img width="1286" alt="Screenshot 2024-11-13 at 10 04 31 AM" src="https://github.com/user-attachments/assets/6d556794-d1a5-41fb-b930-338c375c834b"> compared to https://www.ibm.com/products/watsonx-orchestrate/ai-agent-for-hr?lnk=hpUSrc4 (same url, with query params) <img width="1283" alt="Screenshot 2024-11-13 at 10 05 12 AM" src="https://github.com/user-attachments/assets/70ea6914-e432-4d47-8a98-861a2d5fd58c"> ### Changelog **Changed** - updates L1 active item fallback behavior to ignore query parameters
- Loading branch information
Showing
2 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters