From 80c1612af17d44cda42732f6a13fd87e6f28966e Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Thu, 16 Feb 2017 12:07:48 -0500 Subject: [PATCH] Bug 206 - Creation of VIM accounts in the UI should be hidden until SO can add new sites in the RO. Hidden for openmano type RO Signed-off-by: Laurence Maultsby --- skyquake/plugins/accounts/src/account/accountStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/plugins/accounts/src/account/accountStore.js b/skyquake/plugins/accounts/src/account/accountStore.js index 5d5bd2f92..aeb5f4817 100644 --- a/skyquake/plugins/accounts/src/account/accountStore.js +++ b/skyquake/plugins/accounts/src/account/accountStore.js @@ -249,7 +249,7 @@ export default class AccountStore { } getResourceOrchestratorSuccess = (data) => { this.alt.actions.global.hideScreenLoader.defer(); - if(data['account-type'] == 'openmano') { + if(data['rw-launchpad:resource-orchestrator'] && (data['rw-launchpad:resource-orchestrator']['account-type'] == 'openmano')) { this.setState({ showVIM: false }) -- 2.25.1