added ability to add site through admin UI, fixed Logo control to not render of site does not have a logo, updated launchsettings so that port number is consistent for both IIS Express and .NET Core web server

This commit is contained in:
Shaun Walker
2019-06-14 17:24:52 -04:00
parent d04f3083a8
commit 600872d0b0
10 changed files with 105 additions and 18 deletions

View File

@ -10,8 +10,9 @@
protected PageState PageState { get; set; }
[Parameter]
private Module ModuleState { get; set; }
private Module Module { get; set; }
Module ModuleState;
string container;
RenderFragment DynamicComponent { get; set; }
@ -35,6 +36,7 @@
protected override Task OnParametersSetAsync()
{
ModuleState = Module; // passed in from Pane component
container = ModuleState.ContainerType;
if (PageState.ModuleId != -1 && PageState.Control != "")
{