Skip to content

Commit e446a00

Browse files
authored
Merge pull request #1206 from TechnologyEnhancedLearning/Develop/Fixes/TD-5560
Changed the LH menu item order
2 parents 3570bb3 + 87b3788 commit e446a00

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

OpenAPI/LearningHub.Nhs.OpenApi/Controllers/UserController.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ private List<Dictionary<string, object>> MenuItems(NavigationModel model)
298298
{ "visible", model.ShowBrowseCatalogues },
299299
},
300300
new Dictionary<string, object>
301+
{
302+
{ "title", "My learning" },
303+
{ "url", this.learningHubConfig.MyLearningUrl },
304+
{ "visible", model.ShowMyLearning },
305+
},
306+
new Dictionary<string, object>
301307
{
302308
{ "title", "My contributions" },
303309
{ "url", this.learningHubConfig.MyContributionsUrl },
@@ -310,12 +316,6 @@ private List<Dictionary<string, object>> MenuItems(NavigationModel model)
310316
{ "visible", model.ShowMyBookmarks },
311317
},
312318
new Dictionary<string, object>
313-
{
314-
{ "title", "My learning" },
315-
{ "url", this.learningHubConfig.MyLearningUrl },
316-
{ "visible", model.ShowMyLearning },
317-
},
318-
new Dictionary<string, object>
319319
{
320320
{ "title", "Help" },
321321
{ "url", this.learningHubConfig.HelpUrl },

0 commit comments

Comments
 (0)