From: Laurence Maultsby Date: Thu, 16 Feb 2017 17:07:48 +0000 (-0500) Subject: Bug 206 - Creation of VIM accounts in the UI should be hidden until SO can add new... X-Git-Tag: v1.1.0~1 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=commitdiff_plain;h=80c1612af17d44cda42732f6a13fd87e6f28966e;hp=6f5b417dfbeddcd8d452dcf156f75c293f22b74c 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 --- 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 })