From 5c39c1fce3e08a4bb93be53083bcd6b8943557d7 Mon Sep 17 00:00:00 2001 From: James King Date: Thu, 21 Jan 2021 14:39:09 +0000 Subject: [PATCH] Remove link to favourites on the Employer dashboard --- .../Extensions/UrlHelperExtensions.cs | 8 -------- .../Views/EmployerTeam/Index.cshtml | 9 --------- 2 files changed, 17 deletions(-) diff --git a/src/SFA.DAS.EmployerAccounts.Web/Extensions/UrlHelperExtensions.cs b/src/SFA.DAS.EmployerAccounts.Web/Extensions/UrlHelperExtensions.cs index e9f8bfba0a..4abbbd660c 100644 --- a/src/SFA.DAS.EmployerAccounts.Web/Extensions/UrlHelperExtensions.cs +++ b/src/SFA.DAS.EmployerAccounts.Web/Extensions/UrlHelperExtensions.cs @@ -94,14 +94,6 @@ public static string LegacyEasAction(this UrlHelper helper, string path) return Action(baseUrl, path); } - public static string FavouritesAction(this UrlHelper helper, string path = "") - { - var configuration = DependencyResolver.Current.GetService(); - var baseUrl = configuration.EmployerFavouritesBaseUrl; - - return AccountAction(helper, baseUrl, path); - } - private static string AccountAction(UrlHelper helper, string baseUrl, string path) { var hashedAccountId = helper.RequestContext.RouteData.Values[ControllerConstants.AccountHashedIdRouteKeyName]; diff --git a/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/Index.cshtml b/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/Index.cshtml index 85b985c3b7..008357b85b 100644 --- a/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/Index.cshtml +++ b/src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/Index.cshtml @@ -26,15 +26,6 @@

@Model.Data.Account.Name

- - - - - View saved favourites - -
@if (!Model.Data.HasPayeScheme && Model.Data.OrganisationCount == 0)