RIFT-14989: Login fixes for Accounts and RO Config pages
[osm/UI.git] / skyquake / plugins / config / src / dashboard / configStore.js
index 675f3d6..54f3568 100644 (file)
@@ -52,7 +52,7 @@ let AccountMeta = {
     }
 }
 
-export default class AccountStore {
+export default class ConfigStore {
     constructor() {
         this.account = {};
         this.accountType = 'openmano';
@@ -118,7 +118,7 @@ export default class AccountStore {
     }
     getResourceOrchestratorSuccess = (data) => {
         this.alt.actions.global.hideScreenLoader.defer();
-        if(data && data.hasOwnProperty('empty')) {
+        if(!data) {
             this.setAccountTemplate(false)
         } else {
             this.setState({