mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Api: Fix readonly category select did not load application categories
Categories were loaded before attributes & application was not used
This commit is contained in:
parent
6b98908faa
commit
1702269b65
@ -305,10 +305,10 @@ customElements.define("et2-select-bool_ro", Et2SelectBoolReadonly);
|
||||
|
||||
export class Et2SelectCategoryReadonly extends Et2SelectReadonly
|
||||
{
|
||||
constructor()
|
||||
protected find_select_options(_attrs)
|
||||
{
|
||||
super();
|
||||
|
||||
// Need to do this in find_select_options so attrs can be used to get proper options
|
||||
so.cat(this).then(_options =>
|
||||
{
|
||||
this.select_options = _options;
|
||||
@ -320,8 +320,6 @@ export class Et2SelectCategoryReadonly extends Et2SelectReadonly
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected find_select_options(_attrs) {}
|
||||
}
|
||||
|
||||
// @ts-ignore TypeScript is not recognizing that this widget is a LitElement
|
||||
|
Loading…
Reference in New Issue
Block a user