forked from extern/egroupware
Revert "Fix missing translation on read-only select"
Causes:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at Object.lang (egw_lang.js:73:16)
at Et2SelectAccountReadonly._readonlyRender (Et2SelectReadonly.ts:189:59)
at Et2SelectAccountReadonly.render (Et2SelectReadonly.ts:168:16)
at Et2SelectAccountReadonly.update (lit-element.js:6:304)
at Et2SelectAccountReadonly.performUpdate (reactive-element.js:6:4849)
at Et2SelectAccountReadonly.scheduleUpdate (reactive-element.js:6:4496)
at Et2SelectAccountReadonly._$Ej (reactive-element.js:6:4404)
This reverts commit 4e5f68f97c
.
This commit is contained in:
parent
72252f0fba
commit
6ef78c9591
@ -186,7 +186,7 @@ li {
|
|||||||
_readonlyRender(option : SelectOption) : TemplateResult
|
_readonlyRender(option : SelectOption) : TemplateResult
|
||||||
{
|
{
|
||||||
return html`
|
return html`
|
||||||
<li>${this.noLang ? option.label : this.egw().lang(option.label)}</li>
|
<li>${option.label}</li>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user