Make sure egw.lang() doesn't error trying to translate option label

This un-reverts 4e5f68f97c
This commit is contained in:
nathan 2023-01-25 14:22:36 -07:00
parent df2b52a03b
commit 62bc77a4d2

View File

@ -186,7 +186,7 @@ li {
_readonlyRender(option : SelectOption) : TemplateResult _readonlyRender(option : SelectOption) : TemplateResult
{ {
return html` return html`
<li>${option.label}</li> <li>${this.noLang ? option.label : this.egw().lang(option.label + "")}</li>
`; `;
} }