RIFT-15270: Drop downs not working for config-parameter-refs 75/975/1
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 18 Jan 2017 02:16:23 +0000 (21:16 -0500)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 18 Jan 2017 02:16:23 +0000 (21:16 -0500)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/composer/src/src/libraries/utils.js

index a182b1a..1d54a6f 100644 (file)
@@ -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;
                                                                }
                                                        }