File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
LearningHub.Nhs.WebUI/Views/Catalogue Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 199199 <a tabindex =" 0" class =" subnavwhite-link text-nowrap" asp-controller =" Catalogue" asp-route-reference =" @Model.Catalogue.Url" asp-route-tab =" browse" asp-fragment =" catalogue-details" >Resources </a >
200200 </li >
201201 }
202- @if (Model .Catalogue .SelectedCategoryId > 0 )
202+ @if (Model .Catalogue .SelectedCategoryId > 0 &&
203+ (
204+ (Model .Courses != null && Model .Courses .Any ()) ||
205+ (Model .SubCategories != null && Model .SubCategories .Any ())
206+ ))
203207 {
204208 <li class =" subnavwhite-item @(ViewBag.ActiveTab == " courses " ? " active " : string.Empty)" >
205209 <a tabindex =" 0" class =" subnavwhite-link text-nowrap" asp-controller =" Catalogue" asp-route-reference =" @Model.Catalogue.Url" asp-route-tab =" courses" asp-fragment =" catalogue-details" >Courses </a >
You can’t perform that action at this time.
0 commit comments