From: Laurence Maultsby Date: Thu, 15 Sep 2016 17:17:15 +0000 (-0400) Subject: RIFT-14634: Removed extra quotes from DataCenter X-Git-Tag: v1.0.0~12 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F339%2F1;p=osm%2FUI.git RIFT-14634: Removed extra quotes from DataCenter Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js index 7d9807986..96c134d0f 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js @@ -293,7 +293,7 @@ class LaunchNetworkServiceStore { }, updateSelectedDataCenter: (dataCenter) => { self.setState({ - dataCenterID: dataCenter.target.value + dataCenterID: JSON.parse(dataCenter.target.value) }); }, placementGroupUpdate: (i, k, value) => { @@ -421,7 +421,7 @@ class LaunchNetworkServiceStore { if (!vnfCA[id]) { vnfCA[id] = {}; } - vnfCA[id].datacenter = dataCenter.target.value; + vnfCA[id].datacenter = JSON.parse(dataCenter.target.value); self.setState({ vnfdCloudAccounts: vnfCA }); @@ -769,6 +769,7 @@ class LaunchNetworkServiceStore { }); //Add Users payload['user'] = this.state.usersList; + // console.log(payload) this.launchNSR({ 'nsr': [payload] }); diff --git a/skyquake/skyquake.js b/skyquake/skyquake.js index 0e597d905..b9af78aff 100644 --- a/skyquake/skyquake.js +++ b/skyquake/skyquake.js @@ -1,5 +1,5 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License");