From: Laurence Maultsby Date: Wed, 11 Oct 2017 22:55:48 +0000 (-0400) Subject: Bug 366: Filter out rift ro from back-end results X-Git-Tag: v3.0.0rc14~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F5571%2F1;p=osm%2FUI.git Bug 366: Filter out rift ro from back-end results Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js index 90484bd58..fecdff9bd 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js @@ -189,7 +189,7 @@ class LaunchNetworkServiceStore { Alt.actions.global.hideScreenLoader.defer(); let ROAccounts = []; this.setState({ - resourceOrchestrators: ROAccounts.concat(data), + resourceOrchestrators: ROAccounts.concat(data).filter(function(r){ return r.name != "rift" }), selectedResourceOrchestrator: data[0], dataCenterID: data && data[0] && data[0].datacenters && data[0].datacenters.datacenters && data[0].datacenters.datacenters[0] && data[0].datacenters.datacenters[0].name, dataCenterType: data && data[0] && data[0].datacenters && data[0].datacenters.datacenters && data[0].datacenters.datacenters[0] && data[0].datacenters.datacenters[0]['datacenter-type'],