aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/nfvo-utils
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/nfvo-utils')
-rw-r--r--openecomp-ui/src/nfvo-utils/RestAPIUtil.js4
-rw-r--r--openecomp-ui/src/nfvo-utils/json/JSONSchema.js2
2 files changed, 1 insertions, 5 deletions
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;
}
}