From 3b0bea525ed2051f3635dfd6800f156601aa8c0d Mon Sep 17 00:00:00 2001 From: svishnev Date: Tue, 8 May 2018 16:15:21 +0300 Subject: nic creation issue fix Issue-ID: SDC-1274 Change-Id: Ifd9297d3559f1b8820b0a64f063f1211b6957dd4 Signed-off-by: svishnev --- openecomp-ui/src/nfvo-utils/RestAPIUtil.js | 4 ---- openecomp-ui/src/nfvo-utils/json/JSONSchema.js | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'openecomp-ui/src/nfvo-utils') diff --git a/openecomp-ui/src/nfvo-utils/RestAPIUtil.js b/openecomp-ui/src/nfvo-utils/RestAPIUtil.js index 6be5db765c..a8b40d32a6 100644 --- a/openecomp-ui/src/nfvo-utils/RestAPIUtil.js +++ b/openecomp-ui/src/nfvo-utils/RestAPIUtil.js @@ -79,10 +79,6 @@ function handleSuccess(responseHeaders, requestHeaders) { class RestAPIUtil { handleRequest(url, type, options = {}, data) { - if (DEBUG) { - console.log('axios --> Making REST call (' + type + '): ' + url); - } - applySecurity(options, data); // TODO see ig necessary or in transformrequest funtion diff --git a/openecomp-ui/src/nfvo-utils/json/JSONSchema.js b/openecomp-ui/src/nfvo-utils/json/JSONSchema.js index 53d288f3ae..028d82fc7a 100644 --- a/openecomp-ui/src/nfvo-utils/json/JSONSchema.js +++ b/openecomp-ui/src/nfvo-utils/json/JSONSchema.js @@ -110,7 +110,7 @@ export default class JSONSchema { if (items && items.length > 0) { let values = items .filter(value => value) - .map(value => ({ enum: value, title: value })); + .map(value => ({ enum: value, title: value.toString() })); enumResult = values; } } -- cgit 1.2.3-korg