From: Laurence Maultsby Date: Wed, 2 Nov 2016 14:14:45 +0000 (-0400) Subject: Fix for datacenters disappearing X-Git-Tag: v1.0.1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=eeea520efe604823c52dac9c35de8cff261982db;p=osm%2FUI.git Fix for datacenters disappearing Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js index b13e242e1..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)