x4js 2.2.44 → 2.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -123,10 +123,7 @@ class CTreeViewItem extends Box {
|
|
|
123
123
|
this.addClass( "folder" )
|
|
124
124
|
this.setClass( "open", item.open );
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
this.setItems( item.children );
|
|
128
|
-
} );
|
|
129
|
-
|
|
126
|
+
this.setItems( item.children );
|
|
130
127
|
this._icon.addDOMEvent( "click", ( ev )=>this.toggle(ev) );
|
|
131
128
|
}
|
|
132
129
|
}
|
|
@@ -209,7 +206,9 @@ export class Treeview extends Component<TreeviewProps,TreeviewEvents> {
|
|
|
209
206
|
keydown: ( ev ) => this._onkey( ev ),
|
|
210
207
|
});
|
|
211
208
|
|
|
212
|
-
|
|
209
|
+
asap( ( ) => {
|
|
210
|
+
this.setItems( props.items );
|
|
211
|
+
} );
|
|
213
212
|
}
|
|
214
213
|
|
|
215
214
|
/**
|