mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
refreshItem directly returns if the item is not currently displayed in the tree
This commit is contained in:
parent
085c338de3
commit
e12c055ff9
@ -558,6 +558,8 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement)
|
||||
} else*/
|
||||
{
|
||||
let item = this.getNode(_id);
|
||||
// if the item does not exist in the tree yet no need to refresh
|
||||
if(item == null) return
|
||||
return this.handleLazyLoading(item).then((result) => {
|
||||
item.item = [...result.item]
|
||||
this.requestUpdate("_selectOptions")
|
||||
|
Loading…
x
Reference in New Issue
Block a user