Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
},
updateSelectedDataCenter: (dataCenter) => {
self.setState({
- dataCenterID: dataCenter.target.value
+ dataCenterID: JSON.parse(dataCenter.target.value)
});
},
placementGroupUpdate: (i, k, value) => {
if (!vnfCA[id]) {
vnfCA[id] = {};
}
- vnfCA[id].datacenter = dataCenter.target.value;
+ vnfCA[id].datacenter = JSON.parse(dataCenter.target.value);
self.setState({
vnfdCloudAccounts: vnfCA
});
});
//Add Users
payload['user'] = this.state.usersList;
+ // console.log(payload)
this.launchNSR({
'nsr': [payload]
});
/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");