projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 94 - SDN and Cloud/Config-Agent account data inconsistent
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
instantiate
/
instantiateStore.js
diff --git
a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
index
4807816
..
5cf0807
100644
(file)
--- 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 || []
};
let newState = {
dataCenters: dataCenters || []
};
-
if (this
.ro['account-type'] == 'openmano') {
+
if (this.state.ro && this.state
.ro['account-type'] == 'openmano') {
newState.dataCenterID = dataCenters[this.ro.name][0].uuid
}
this.setState(newState)
newState.dataCenterID = dataCenters[this.ro.name][0].uuid
}
this.setState(newState)