From da8f82d57110638e5a388856e72a22a9f9172123 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 24 Apr 2019 21:52:08 +0200 Subject: [PATCH] Fix #33 --- Panels/ProductsPanel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Panels/ProductsPanel.js b/Panels/ProductsPanel.js index 5f9b514a9..be880e77f 100644 --- a/Panels/ProductsPanel.js +++ b/Panels/ProductsPanel.js @@ -64,6 +64,7 @@ userTeams = JSON.parse(storedTeams) userTeam = userTeams[0] // Currently we assume a user can be at only one team. } + if (userTeam === undefined) { userTeam = {slug: ''} } /* First thing is to build the productCards array */