|
|
@ -123,9 +123,8 @@ export class CustomTree extends Widget { |
|
|
|
itemsCreator: (op, callback) => { |
|
|
|
itemsCreator: (op, callback) => { |
|
|
|
itemsCreator.apply(this, [ |
|
|
|
itemsCreator.apply(this, [ |
|
|
|
op, |
|
|
|
op, |
|
|
|
items => { |
|
|
|
(...args) => { |
|
|
|
const args = Array.prototype.slice.call(arguments, 0); |
|
|
|
args[0] = this._formatItems(args[0]); |
|
|
|
args[0] = this._formatItems(items); |
|
|
|
|
|
|
|
callback(...args); |
|
|
|
callback(...args); |
|
|
|
} |
|
|
|
} |
|
|
|
]); |
|
|
|
]); |
|
|
|