Merge pull request #137 from sbwalker/master

fix issue #135 and #131
This commit is contained in:
Shaun Walker 2019-10-17 09:22:29 -04:00 committed by GitHub
commit f793264d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@
string cardclass = "text-white bg-secondary";
string message = "";
protected override async Task OnInitializedAsync()
protected override async Task OnParametersSetAsync()
{
if (!string.IsNullOrEmpty(ButtonClass))
{
@ -257,7 +257,8 @@
PageModule pagemodule = new PageModule();
pagemodule.PageId = PageState.Page.PageId;
pagemodule.ModuleId = int.Parse(moduleid);
if (title == "")
pagemodule.Title = title;
if (pagemodule.Title == "")
{
if (moduletype == "new")
{