Bug 206 - Creation of VIM accounts in the UI should be hidden until SO can add new... 22/1122/1
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Thu, 16 Feb 2017 17:07:48 +0000 (12:07 -0500)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Thu, 16 Feb 2017 17:07:48 +0000 (12:07 -0500)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/accounts/src/account/accountStore.js

index 5d5bd2f..aeb5f48 100644 (file)
@@ -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
             })