Check needed if the component is localizable

This commit is contained in:
hishamco
2020-10-19 21:47:59 +03:00
parent fed56098a0
commit 79b584f268
2 changed files with 19 additions and 3 deletions

View File

@ -43,7 +43,10 @@ else
_openLabel += ">";
ChildContent =@<text>@Localize("Text")</text>;
HelpText = Localize(nameof(HelpText));
if (IsLocalizable)
{
ChildContent =@<text>@Localize("Text")</text>;
HelpText = Localize(nameof(HelpText));
}
}
}