Fix issue where module title was not displayed correctly in module settings UI
This commit is contained in:
@ -1,4 +1,17 @@
|
||||
@using Oqtane.Themes
|
||||
@inherits ContainerBase
|
||||
|
||||
@ModuleState.Title
|
||||
@title
|
||||
|
||||
@functions {
|
||||
string title = "";
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
title = ModuleState.Title;
|
||||
if (PageState.Control == "Settings")
|
||||
{
|
||||
title = PageState.Control;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user