Merge pull request #3985 from leigh-pointer/ActionLink
_text being set and resetting other options
This commit is contained in:
commit
0021f7b4ba
|
@ -100,7 +100,7 @@
|
|||
_text = Action;
|
||||
if (!string.IsNullOrEmpty(Text))
|
||||
{
|
||||
_text = Text;
|
||||
_text = Localize(nameof(Text), _text);
|
||||
}
|
||||
|
||||
if (IconOnly && !string.IsNullOrEmpty(IconName))
|
||||
|
@ -150,7 +150,6 @@
|
|||
}
|
||||
|
||||
_permissions = (PermissionList == null) ? ModuleState.PermissionList : PermissionList;
|
||||
_text = Localize(nameof(Text), _text);
|
||||
|
||||
_url = EditUrl(_path, _moduleId, Action, _parameters);
|
||||
if (!string.IsNullOrEmpty(ReturnUrl))
|
||||
|
|
Loading…
Reference in New Issue
Block a user