Skip to content

Commit 87455a8

Browse files
committed
Merge remote-tracking branch 'origin/Develop/Features/TD-3132-Unified-platform-interface' into Develop/Features/TD-5765
2 parents 0a95a5f + 38ce56d commit 87455a8

File tree

3 files changed

+733
-93
lines changed

3 files changed

+733
-93
lines changed

LearningHub.Nhs.WebUI/Models/SideMenu/SideNavigationConfiguration.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ public static IEnumerable<SideNavigationGroup> GetGroupedMenus()
6363
Text = "Recent learning",
6464
Controller = "MyLearning",
6565
Action = "Index",
66-
IsActive = route => MatchRoute(route, "Activity", "Recent"),
66+
IsActive = route => MatchRoute(route, "MyLearning", "Index"),
6767
},
6868
new SideNavigationItem
6969
{
7070
Text = "Bookmarks",
71-
Controller = "MyLearning",
72-
Action = "Bookmark",
73-
IsActive = route => MatchRoute(route, "Activity", "Bookmark"),
71+
Controller = "Bookmark",
72+
Action = "Index",
73+
IsActive = route => MatchRoute(route, "Bookmark", "Index"),
7474
},
7575
new SideNavigationItem
7676
{
@@ -84,7 +84,7 @@ public static IEnumerable<SideNavigationGroup> GetGroupedMenus()
8484
Text = "Learning history",
8585
Controller = "MyLearning",
8686
Action = "LearningHistory",
87-
IsActive = route => MatchRoute(route, "Activity", "LearningHistory"),
87+
IsActive = route => MatchRoute(route, "MyLearning", "LearningHistory"),
8888
},
8989
},
9090
},

0 commit comments

Comments
 (0)