mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
Et2Tree: Fix getUserData() did not return the data
Find callback did not return, so never matched
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user