fix regression issue caused by #3985 related to ActionLink
This commit is contained in:
@ -97,11 +97,14 @@
|
||||
{
|
||||
base.OnParametersSet();
|
||||
|
||||
_text = Action;
|
||||
if (!string.IsNullOrEmpty(Text))
|
||||
{
|
||||
_text = Localize(nameof(Text), _text);
|
||||
}
|
||||
else
|
||||
{
|
||||
_text = Localize(nameof(Action), Action);
|
||||
}
|
||||
|
||||
if (IconOnly && !string.IsNullOrEmpty(IconName))
|
||||
{
|
||||
|
@ -13,6 +13,13 @@
|
||||
|
||||
@((MarkupString)content)
|
||||
|
||||
@if (PageState.EditMode && content.Length > 1000)
|
||||
{
|
||||
<div class="text-center mt-2">
|
||||
<ActionLink Action="Edit" EditMode="true" ResourceKey="Edit" />
|
||||
</div>
|
||||
}
|
||||
|
||||
@code {
|
||||
private string content = "";
|
||||
|
||||
|
Reference in New Issue
Block a user