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