alternative to get ecosystem from file

This commit is contained in:
Matias committed 2019-07-27 07:33:32 -03:00
1 parent 21c04b9e7c
commit 5c32940f02
1 file changed
+3
+3
View File
@@ -61,6 +61,9 @@ function newProductsPanel () {
/* First thing is to build the thisObject.productCards array */
let ecosystem = JSON.parse(window.localStorage.getItem('ecosystem'))
if (ecosystem === null || ecosystem === undefined) {
ecosystem = getUserEcosystem()
}
for (let i = 0; i < ecosystem.devTeams.length; i++) {
let devTeam = ecosystem.devTeams[i]