
* Refactoring * Refactoring * Check for a valid email. * Fixed missing character. * Moved logic to the Utilities class. * Rename template .sql file * Modified null and empty string check. * Check for a valid email. * Fixed missing character. * Moved logic to the Utilities class. * Added Favicon support, Progressive Web App support, page title and url support, and private/public user registration options * Refactoring * Refactoring * Check for a valid email. * Moved logic to the Utilities class. Co-authored-by: Aubrey <aubrey.b@treskcow.tech> Co-authored-by: MIchael Atwood <matwood@dragonmastery.com> Co-authored-by: Shaun Walker <shaun.walker@siliqon.com>
27 lines
631 B
Plaintext
27 lines
631 B
Plaintext
@namespace Oqtane.UI
|
|
|
|
@DynamicComponent
|
|
|
|
@code {
|
|
[CascadingParameter]
|
|
protected PageState PageState { get; set; }
|
|
|
|
RenderFragment DynamicComponent { get; set; }
|
|
|
|
protected override void OnParametersSet()
|
|
{
|
|
DynamicComponent = builder =>
|
|
{
|
|
var layoutType = Type.GetType(PageState.Page.LayoutType);
|
|
if (layoutType != null)
|
|
{
|
|
builder.OpenComponent(0, layoutType);
|
|
builder.CloseComponent();
|
|
}
|
|
else
|
|
{
|
|
// layout does not exist with type specified
|
|
}
|
|
};
|
|
}
|
|
} |