X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Fconfig%2Fsrc%2Fdashboard%2FconfigStore.js;h=54f3568e64181763ba22c156695a22935278b8f2;hb=1416deb2554b923a49d84d41ba2279209f947efa;hp=50a2cb757b388df431fd0767877cbb4afb57cfa0;hpb=dfe972ff7c9f7b6b1d730e66b0b2aa8df2ce329b;p=osm%2FUI.git diff --git a/skyquake/plugins/config/src/dashboard/configStore.js b/skyquake/plugins/config/src/dashboard/configStore.js index 50a2cb757..54f3568e6 100644 --- a/skyquake/plugins/config/src/dashboard/configStore.js +++ b/skyquake/plugins/config/src/dashboard/configStore.js @@ -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.hasOwnProperty('empty')) { + if(!data) { this.setAccountTemplate(false) } else { this.setState({