From 121a173ff62184ca357a22d0617111eea616ea64 Mon Sep 17 00:00:00 2001 From: KIRAN KASHALKAR Date: Tue, 17 Jan 2017 21:16:23 -0500 Subject: [PATCH] RIFT-15270: Drop downs not working for config-parameter-refs Signed-off-by: KIRAN KASHALKAR --- skyquake/plugins/composer/src/src/libraries/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skyquake/plugins/composer/src/src/libraries/utils.js b/skyquake/plugins/composer/src/src/libraries/utils.js index a182b1a90..1d54a6f5b 100644 --- a/skyquake/plugins/composer/src/src/libraries/utils.js +++ b/skyquake/plugins/composer/src/src/libraries/utils.js @@ -290,7 +290,7 @@ export default { for (let subKey in catalogs[key]) { let found = _.find(catalogs[key][subKey], {id: fieldKeyArray[0]}); if (found) { - results = this.getResults(found, pathArray.splice(-i, i)); + results = this.getAbsoluteResults(found, pathArray.splice(-i, i)); return results; } } @@ -303,7 +303,7 @@ export default { for (let foundKey in found) { let topLevel = _.find(found[foundKey], {id: fieldKeyArray[1]}); if (topLevel) { - results = this.getResults(topLevel, pathArray.splice(-i, i)); + results = this.getAbsoluteResults(topLevel, pathArray.splice(-i, i)); return results; } } -- 2.25.1