fixed issue where modulestate was being modified and not treated as a readonly cache

This commit is contained in:
Shaun Walker
2020-11-09 15:35:32 -05:00
parent a8932ec1e0
commit 07519bccde
3 changed files with 20 additions and 10 deletions

View File

@ -1,4 +1,4 @@
@namespace Oqtane.Themes.Controls
@namespace Oqtane.Themes.Controls
@inherits ContainerBase
@attribute [OqtaneIgnore]
@ -17,6 +17,13 @@
{
title = PageState.Action;
}
else
{
if (!string.IsNullOrEmpty(ModuleState.ControlTitle))
{
title = ModuleState.ControlTitle;
}
}
return Task.CompletedTask;
}
}