Fix bug related to managing modules on page

This commit is contained in:
Shaun Walker 2019-08-14 11:16:39 -04:00
parent b71f007981
commit 77d131637c

View File

@ -50,14 +50,7 @@
protected async Task ModuleAction(string action) protected async Task ModuleAction(string action)
{ {
PageModule pagemodule = new PageModule(); PageModule pagemodule = await PageModuleService.GetPageModuleAsync(ModuleState.PageModuleId);
pagemodule.PageModuleId = ModuleState.PageModuleId;
pagemodule.PageId = ModuleState.PageId;
pagemodule.ModuleId = ModuleState.ModuleId;
pagemodule.Title = ModuleState.Title;
pagemodule.Pane = ModuleState.Pane;
pagemodule.Order = ModuleState.Order;
pagemodule.ContainerType = ModuleState.ContainerType;
string url = NavigateUrl(); string url = NavigateUrl();
switch (action) switch (action)