Merge pull request #52 from sbwalker/master

Fix bug related to managing modules on page
This commit is contained in:
Shaun Walker 2019-08-14 11:18:29 -04:00 committed by GitHub
commit 49c852b80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,14 +50,7 @@
protected async Task ModuleAction(string action)
{
PageModule pagemodule = new PageModule();
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;
PageModule pagemodule = await PageModuleService.GetPageModuleAsync(ModuleState.PageModuleId);
string url = NavigateUrl();
switch (action)