add missing readonly et2-select-lang to fix language column in news-admin index

This commit is contained in:
ralf 2023-02-08 08:24:42 +01:00
parent 193dbfc339
commit ed09a0b079

View File

@ -471,4 +471,19 @@ export class Et2SelectYearReadonly extends Et2SelectReadonly
} }
// @ts-ignore TypeScript is not recognizing that this widget is a LitElement // @ts-ignore TypeScript is not recognizing that this widget is a LitElement
customElements.define("et2-select-year_ro", Et2SelectYearReadonly); customElements.define("et2-select-year_ro", Et2SelectYearReadonly);
export class Et2SelectLangReadonly extends Et2SelectReadonly
{
constructor()
{
super();
this.select_options = so.lang(this, {other: this.other || []});
}
protected find_select_options(_attrs) {}
}
// @ts-ignore TypeScript is not recognizing that this widget is a LitElement
customElements.define("et2-select-lang_ro", Et2SelectLangReadonly);