|
@@ -126,7 +126,7 @@ export default (Target, hasPagination = true) => ({
|
|
const optionTarget = optionTargetConfig.Target
|
|
const optionTarget = optionTargetConfig.Target
|
|
return this.$$request(optionTarget.$$api.getList, typeof optionTargetConfig.getQuery === 'function' ? optionTargetConfig.getQuery(optionGroup) : undefined).then(options => {
|
|
return this.$$request(optionTarget.$$api.getList, typeof optionTargetConfig.getQuery === 'function' ? optionTargetConfig.getQuery(optionGroup) : undefined).then(options => {
|
|
options = bindPrototype(options, optionTarget)
|
|
options = bindPrototype(options, optionTarget)
|
|
- optionGroup[optionTarget.name] = {
|
|
|
|
|
|
+ optionGroup[optionTarget.$$name] = {
|
|
list: options,
|
|
list: options,
|
|
map: MapBuilder.getObjectMap(options, optionTarget.$$idProp),
|
|
map: MapBuilder.getObjectMap(options, optionTarget.$$idProp),
|
|
Target: optionTarget
|
|
Target: optionTarget
|