X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fconfig%2Fsrc%2Fdashboard%2FconfigStore.js;h=675f3d6895763fdb396d768f953f98ed266bd6f1;hp=50a2cb757b388df431fd0767877cbb4afb57cfa0;hb=refs%2Fchanges%2F27%2F327%2F1;hpb=3e40e75b33401d050154b680eaf1d5a65443746c diff --git a/skyquake/plugins/config/src/dashboard/configStore.js b/skyquake/plugins/config/src/dashboard/configStore.js index 50a2cb757..675f3d689 100644 --- a/skyquake/plugins/config/src/dashboard/configStore.js +++ b/skyquake/plugins/config/src/dashboard/configStore.js @@ -118,7 +118,7 @@ export default class AccountStore { } getResourceOrchestratorSuccess = (data) => { this.alt.actions.global.hideScreenLoader.defer(); - if(data.hasOwnProperty('empty')) { + if(data && data.hasOwnProperty('empty')) { this.setAccountTemplate(false) } else { this.setState({