manifest dashboard code

This commit is contained in:
Shannon
2018-02-23 11:00:03 +10:00
parent accf8ba5f2
commit 0aa930d1c9
6 changed files with 235 additions and 40 deletions

View File

@@ -123,8 +123,8 @@ namespace Umbraco.Web.Editors
[ValidateAngularAntiForgeryToken]
public IEnumerable<Tab<DashboardControl>> GetDashboard(string section)
{
var dashboardHelper = new DashboardHelper(Services.SectionService);
return dashboardHelper.GetDashboard(section, Security.CurrentUser);
var dashboardHelper = new DashboardHelper(ApplicationContext);
return dashboardHelper.GetDashboard(section, Security.CurrentUser);
}
}
}