X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FinstantiateStore.js;h=94ba391bb7844fcbbb71aabda869a7a848969ddc;hp=a2152307b535df5b10848e5338851c5157777b21;hb=354a4f472b33534f1c0405bbeb8a4cdf250a8713;hpb=6d5875bc7dc0c978ea27725e0425dff98d77d7f8 diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js index a2152307b..94ba391bb 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js @@ -156,7 +156,7 @@ class LaunchNetworkServiceStore { let newState = { dataCenters: dataCenters || [] }; - if (this.state.ro && this.state.ro['account-type'] == 'openmano') { + if (this.ro && this.ro['account-type'] == 'openmano') { newState.dataCenterID = dataCenters[this.ro.name][0].uuid } this.setState(newState) @@ -184,9 +184,9 @@ class LaunchNetworkServiceStore { } launchNSRError(error) { var msg = 'Something went wrong while trying to instantiate. Check the error logs for more information'; - // if(error) { - // msg = error; - // } + if(error) { + msg = error; + } Alt.actions.global.showNotification.defer(msg); Alt.actions.global.hideScreenLoader.defer(); this.setState({