mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Et2Tree: Fix getUserData() did not return the data
Find callback did not return, so never matched
This commit is contained in:
parent
8b21d21291
commit
27418ec0f4
@ -574,9 +574,7 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement)
|
||||
|
||||
getUserData(_nodeId, _name)
|
||||
{
|
||||
return this.getNode(_nodeId)?.userdata?.find(elem => {
|
||||
elem.name === _name
|
||||
})?.content
|
||||
return this.getNode(_nodeId)?.userdata?.find(elem => elem.name === _name)?.content
|
||||
}
|
||||
|
||||
//this.selectOptions = find_select_options(this)[1];
|
||||
|
Loading…
Reference in New Issue
Block a user