small fixes

This commit is contained in:
Pavel Vesely
2020-06-12 17:44:02 +02:00
parent 4edb3f32f0
commit 8053cc0af6
3 changed files with 16 additions and 9 deletions

View File

@ -90,7 +90,8 @@
if (!string.IsNullOrEmpty(IconName))
{
_iconSpan = $"<span class=\"oi oi-{IconName}\"></span>&nbsp;";
_iconSpan = $"<span class=\"oi oi-{IconName}\"></span>{(IconOnly?"":"&nbsp")}";
}
_url = EditUrl(Action, _parameters);