fix regression issue caused by #3985 related to ActionLink

This commit is contained in:
sbwalker
2024-03-23 11:39:11 -04:00
parent 438cf271c0
commit 784955cdbd
3 changed files with 14 additions and 4 deletions

View File

@ -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))
{